摘要: set identity_insert 表名 ON --允许对自增列Id插入指定数据insert into table_name(Id,Name) values(1,'test')set identity_insert 表名 OFF --关闭对自增列Id插入指定数据注意:1.set identity... 阅读全文
posted @ 2014-11-12 20:33 蒹葭白露 阅读(49393) 评论(2) 推荐(2) 编辑
摘要: /*8 24 108 - hh:mm:ss */Select CONVERT(varchar(100), GETDATE(), 8)-- 19:34:00Select CONVERT(varchar(100), GETDATE(), 24)-- 19:34:00Select C... 阅读全文
posted @ 2014-11-12 19:59 蒹葭白露 阅读(635) 评论(0) 推荐(0) 编辑