2013年1月16日
摘要: 默认情况下,IDENTITY_INSER 就是off这种情况下,你写insert 语句时,identity栏位,不要写值,系统会自动帮你写入。举例说明:create table #aa(id int identity(1,1),dt datetime,pay int)goinsert into #aa(dt,pay)values('2012-4-12',100) --不能向 id栏位写值,系统会自动写goinsert into #aa(id,dt,pay)values(100,'2012-4-14',200) --如果像这样写了,就会报错go如果你需要写,可以把 阅读全文
posted @ 2013-01-16 14:14 一路前行 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 在运行窗口中输入regedit,打开注册表编辑器。点编辑按钮,选查找,输入“InfoCenterOn”,找到后,将键值改成“0”即可。 阅读全文
posted @ 2013-01-16 12:08 一路前行 阅读(488) 评论(0) 推荐(0) 编辑