Apr 8, 2002 #1 kim1 Programmer Nov 7, 2001 77 CA Hi guys, Can we have the modification date of a stored procedure? I would like to list all the stored procedure that have been modified since a certain date. Thank you for your help. Kim
Hi guys, Can we have the modification date of a stored procedure? I would like to list all the stored procedure that have been modified since a certain date. Thank you for your help. Kim
Apr 8, 2002 #2 RobertT687 Programmer Apr 2, 2001 425 US Try: select name, crdate from sysobjects where type = 'P'. Upvote 0 Downvote
Apr 8, 2002 Thread starter #3 kim1 Programmer Nov 7, 2001 77 CA This is the creation date. I need the Modification Date. Do you think that it is possible? Thank you very much. Kim Upvote 0 Downvote
This is the creation date. I need the Modification Date. Do you think that it is possible? Thank you very much. Kim
Apr 8, 2002 #4 RobertT687 Programmer Apr 2, 2001 425 US Stored procedures are usually dropped and re-created when being modified, so create date should be last modified date. Upvote 0 Downvote
Stored procedures are usually dropped and re-created when being modified, so create date should be last modified date.
Apr 8, 2002 Thread starter #5 kim1 Programmer Nov 7, 2001 77 CA I did a test and the crdate field has not been changed. Thanks Kim Upvote 0 Downvote
Apr 8, 2002 #6 tlbroadbent MIS Mar 16, 2001 9,982 US SQL Server does not track modification date. SQL 2000 Enterprise Manager doesn't drop and create stored procedures. It issues an Alter Procedure command. Terry L. Broadbent - DBA Computing Links: http://tlbroadbent.home.attbi.com/prog.htm faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions. Upvote 0 Downvote
SQL Server does not track modification date. SQL 2000 Enterprise Manager doesn't drop and create stored procedures. It issues an Alter Procedure command. Terry L. Broadbent - DBA Computing Links: http://tlbroadbent.home.attbi.com/prog.htm faq183-874 contains "Suggestions for Getting Quick and Appropriate Answers" to your questions.
Apr 9, 2002 Thread starter #7 kim1 Programmer Nov 7, 2001 77 CA Thank you very much for your confirmation Terry. Kim Upvote 0 Downvote