Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 When was db object last updated?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Constraint Violating Yak Guru

267 Posts

Posted - 04/04/2007 :  12:36:29  Show Profile  Reply with Quote

Is there a way to find out when a certain DB object (e.g. Stored procedure) was last modified?

SYSOBJECTS table contains crdate and refdate fields. None of these, however, appear to tell me when when the object was last updated.

Is there a way to find that out?

Thanks a lot

Patron Saint of Lost Yaks

30421 Posts

Posted - 04/04/2007 :  12:37:50  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Try to search SQLTeam. This has been discussed numerous times not long ago.

Peter Larsson
Helsingborg, Sweden
Go to Top of Page

Not Just a Number

15586 Posts

Posted - 04/04/2007 :  13:13:28  Show Profile  Reply with Quote
The answer is no in 2000, and I believe yes in 2k5



Hint: Want your questions answered fast? Follow the direction in this link

Add yourself!

Go to Top of Page

Constraint Violating Yak Guru

267 Posts

Posted - 04/04/2007 :  14:03:16  Show Profile  Reply with Quote
Thanks Peso and Brett.

Yes, according to the following, it seems that 2000 does not allow it:
Go to Top of Page

Flowing Fount of Yak Knowledge

2886 Posts

Posted - 04/04/2007 :  15:53:49  Show Profile  Visit jezemine's Homepage  Reply with Quote
in 2005 there is a modify_date in sys.objects
Go to Top of Page


United Kingdom
22859 Posts

Posted - 04/05/2007 :  03:06:27  Show Profile  Reply with Quote
Go to Top of Page

Constraint Violating Yak Guru

267 Posts

Posted - 04/07/2007 :  15:12:58  Show Profile  Reply with Quote
Thanks for the enlightment folks!

Jezemine: I'll keep this in mind in case my company migrates to 2005.

Kristen: Great links ... I'm currently reading and learning from them ...
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2019 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000