In this article I will explain how to find or get last modified date and created date of stored procedure or table in SQL server.
SELECT name,type,type_desc,create_date,modify_date FROM sys.objects
WHERE type = 'P' AND name = 'YourProcedureName'
|
SELECT name,type,type_desc,create_date,modify_date FROM sys.objects
WHERE type = 'U' AND name = 'YourTableName'
|
SELECT name,[type],type_desc,create_date,modify_date FROM sys.objects
WHERE [type] = 'P' AND name = 'GetUserDetails'
|
|
|
|
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
Subscribe by RSS
Subscribe by Email
|
|||
|
|

Subscribe by RSS
Subscribe by Email
5 comments :
Really nice but i have a dought
i create one stored procedure
i altered that stored procedure
now i want to stored procedure before altered
how can i get that stored procedure
Please Provide a Solution Please.....
Thanks & Regards
Vinay Kumar
@vinay...
If you are maintain the backup for your database then only u have chance to get old procedure otherwise it's not possible.
h
how can i get values into dropdownlist from sql using stored procedure
alya chacka
atlu pan nahi avdtu !!
to su karva avta hasho ????
aena karta chod do . bka chaka!!!!
For special Ajesh Chacko Chacko.....