How To Find That One Week Change in My DataBase we Have Done
Like We Have A database Test I Change Table,Stored Procd.
Then I Find Which SP,Table We Have Edit/Change in Seven
Dayes

Answer Posted / sandeep modapathi

just run this query

SELECT * FROM SYS.OBJECTS
WHERE TYPE='P' AND (CREATE_DATE>'<Date>' OR
MODIFY_DATE>'<Date>')

This query will return all the SPs modified or created
after the date specified. You can change the filter
condition according to your purpose.

For Tables ... use this query

SELECT * FROM SYS.TABLES
WHERE CREATE_DATE>'<Date>' OR MODIFY_DATE>'<Date>'

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the system function to get the current user's user id? : Sql server database administration

734


List out the different types of locks available in sql server?

716


What is the maximum size of a dimension? : sql server analysis services, ssas

770


Is profiler the only tool that has the ability to audit and identify ddl events? : sql server security

802


What is use of attributehierarchyenabled? : sql server analysis services, ssas

801






What is cached report?

120


What is difference between commit and rollback when used in transactions?

665


Do you know the isolation level that sql server support?

707


What is lookup override?

770


How to sort query output in descending order in ms sql server?

745


What is named calculation? : sql server analysis services, ssas

731


How efficient you are in oracle and SQL server?

811


What is indexed view? How to create it?

759


Does partitioning ssd reduce performance?

639


How to create prepared statements using odbc_prepare()?

779