Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
1.24/5 (3 votes)
As we know it is possible to find the last modified date of an Stored Procedure from an SQL Server.

But is it possible to get the dates of last 'N' number of modifications in an stored procedure or function .
Posted
Comments
Maciej Los 4-Dec-14 8:24am    
What?

If there is no version control, then you have to maintain your own history table. You can create the table and write the sp version before changing it. Look up about DDL triggers.
 
Share this answer
 
Yes, But only when your codes are under version control system.

check this

sql-development/sql-source-control/[^]

sql-version-control-methodology[^]
 
Share this answer
 
v2
Comments
Deepu S Nair 4-Dec-14 8:55am    
so there is no direct query for this?
Shweta N Mishra 4-Dec-14 9:03am    
No.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900