sql server表中数据更新后,如何查看表的更新时间?
sql   server表中数据更新后,如何查看表的更新时间?
------解决方案--------------------加一個字段記錄吧, SQL2000好像沒有這個功能
------解决方案--------------------用getdate()记录到字段里
------解决方案--------------------只有增加字段,来记录时间吧
------解决方案--------------------1     
 加字段: LastUpdateTime   datetime    
 触发器:    
   create   trigger   tr_test    
   on   test    
   for   insert,update    
   as    
   update   test    
   set   LastUpdateTime=getdate()    
   from   test,inserted    
   where   test.id=inserted.id    
   go        
 2   
 工具--》sql事件探察器--》文件--》建立跟踪