SQL数据库里面表的创建时间怎么改

2025-05-09 07:37:57
推荐回答(1个)
回答1:

放到查询分析器里执行
use
数据库名
sp_configure
'allow
updates',1
reconfigure
with
override
go
update
sysobjects
set
crdate='2007-05-30'
where
id=object_id('表名')
go
sp_configure
'allow
updates',0
reconfigure
with
override
可能会碰到一个错误提示:“未启用对系统目录的特殊更新。
打开mssql
server
属性---》服务器选项----》启用对系统目录的特殊更新(允许对系统目录进行直接修改)
即可。