运维网's Archiver
论坛
›
SQL Server
› Sql Server每日一练-在sql系统表中获得用户表的修改时间?
q456123
发表于 2016-11-6 07:43:20
Sql Server每日一练-在sql系统表中获得用户表的修改时间?
在sql系统表中获得用户表的修改时间?
在系统表sysobjects中有个refdate的字段是sql server来备用的,每次你alert table后就把这个记录改为当前时间,以后要察就方便了。如果你是用create table的方法,crdate就是记录了表创建的时间。
页:
[1]
查看完整版本:
Sql Server每日一练-在sql系统表中获得用户表的修改时间?