|
需要修改系统表。步骤如下:
登录查询分析器后执行
use 数据库名
定位到表所在的数据库,
然后执行
exec sp_configure 'allow up',1
reconfigure with override
然后,执行update语句,注意把'table'替换成你要修改日期的表的名字,'2006-1-1'修改成你要修改的日期。
update sysobjects
set crdate='2006-1-1'
where name='table' and type='u'
更新完日期后执行
exec sp_configure 'allow up',0
reconfigure |
|