关于timestamp的两属性CURRENT_TIMESTAMP 和ON UPDATE CURRENT_TIMESTAMP,使用示例如下: CREATE TABLE `upload_table` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID', ...
                            
                            
                                分类:
数据库   时间:
2021-06-24 18:07:30   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                COCO 的jeson 文件: "images": [{"file_name": "811000171.jpg", "height": 720, "width": 1280, "id": 811000171}, {"file_name": "811000131.jpg", "height": 720 ...
                            
                            
                                分类:
其他好文   时间:
2021-06-24 18:06:36   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    { "category":[ "id":"1", "isleaf":"0", "isshow":"1", "label":"根结点", "name":"根结点", "orderby":1, "parentid":"0", "children":[ { "id":"1-1 ...
                            
                            
                                分类:
Web程序   时间:
2021-06-24 17:37:47   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    PreparedStatement针对不同表的通用查询操作 public class PreparedStatementQueryTest { @Test public void testGetForList(){ String sql="select id,name,email from cust ...
                            
                            
                                分类:
其他好文   时间:
2021-06-23 17:15:36   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    ps -ef UID 指进程的所有者; PID 是进程的唯一标识; PPID 是进程的父进程 ID; C 是 CPU 的利用率(就是 CPU 占用); STIME 是开始时间; TTY 是进程所在的 TTY,如果没有 TTY 就是 ?号; TIME; CMD 是进程启动时的命令,如果不是一个 She ...
                            
                            
                                分类:
其他好文   时间:
2021-06-23 17:06:46   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    JdbcTemplate1、JdbcTemplate概念及使用? a)Spring 框架对 JDBC 进行封装,使用 JdbcTemplate 方便实现对数据库操作 ? b)引入相关 jar 包 ? c)在 spring 配置文件配置数据库连接池 <bean id="dataSource" clas ...
                            
                            
                                分类:
数据库   时间:
2021-06-23 17:02:06   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    input框 <div id="example"></div> <script type="text/babel"> class Content extends React.Component { render() { return <div> <input type="text" value={t ...
                            
                            
                                分类:
其他好文   时间:
2021-06-23 16:49:23   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    动态SQL 什么是动态SQL 通过if,choose,when,otherwise,trim,where,set,foreach等标签,可自由组合成非常灵活的SQL语句,从而在提高SQL语句的准确性的同时,大大提高开发效率。 搭建测试环境 CREATE TABLE `blog` ( `id` var ...
                            
                            
                                分类:
其他好文   时间:
2021-06-23 16:41:27   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    mysql 设置当前时间 update swr_sys_param sp set sp.create_time = CURRENT_TIMESTAMP where sp.id = 1 查字段 https://www.cnblogs.com/zhangyuhang3/p/6873895.html ...
                            
                            
                                分类:
数据库   时间:
2021-06-22 18:18:48   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    alter table student_info modify id int(3); -- 先删除自增约束 alter table student_info drop primary key; -- 再删除主键约束 alter table student_info drop id; -- 再删除该字 ...
                            
                            
                                分类:
其他好文   时间:
2021-06-22 17:54:17   
                                阅读次数:
0