摘要:
1.新表不存在 这种方法会将old_table中所有的内容都拷贝过来,用这种方法需要注意,new_table中没有了old_table中的primary key,Extra,auto_increment等属性,需要自己手动加,具体参看后面的修改表即字段属性. 只复制表结构到新表 2.新表存在复制旧表 阅读全文
posted @ 2018-01-23 14:31
GL_BKY
阅读(48463)
评论(2)
推荐(2)
摘要:
一、SQL中的语法 1、drop table 表名称 eg: drop table dbo.Sys_Test 2、truncate table 表名称 eg: truncate table dbo.Sys_Test 3、delete from 表名称 where 列名称 = 值 eg: delete 阅读全文
posted @ 2018-01-23 14:22
GL_BKY
阅读(195)
评论(0)
推荐(0)
摘要:
第一个存储过程: 阅读全文
posted @ 2018-01-23 14:02
GL_BKY
阅读(289)
评论(0)
推荐(0)

浙公网安备 33010602011771号