use SMSstudentsp_configure 'allow updates',1
reconfigure with override
go
update sysobjects set crdate='2007-05-15' where id=object_id('users')
go
sp_configure 'allow updates',0
reconfigure with override
----------------------------------
查询分析显示服务器: 消息 170,级别 15,状态 1,行 3
第 3 行: 'sp_configure' 附近有语法错误。(所影响的行数为 1 行)DBCC 执行完毕。如果 DBCC 输出了错误信息,请与系统管理员联系。
已将配置选项 'allow updates' 从 1 改为 0。请运行 RECONFIGURE 语句以安装。
----------求指点  
想把建表时间  更新到2011-12-08
为什么老说有错误 

解决方案 »

  1.   

    use SMSstudent
    gosp_configure 'allow updates',1
    go
    reconfigure with override
    go
    update sysobjects set crdate='2007-05-15' where id=object_id('users')
    go
    sp_configure 'allow updates',0
    go
    reconfigure with override
    go
      

  2.   

    use SMSstudent
    gosp_configure 'allow updates',1
    go
    reconfigure with override
    go
    update sysobjects set crdate='2007-05-15' where id=object_id('users')
    go
    sp_configure 'allow updates',0
    go
    reconfigure with override
    go