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

How to encrypt data between dialogs?

663


what are database files and filegroups? : Sql server database administration

580


What is normalization according to you and explain its different levels?

609


What is a with(nolock)?

655


What are built in functions?

677






Explain the disadvantages/limitation of the cursor?

640


What is the function of inner join?

648


Why I have to use stored procedures?

693


What is it unwise to create wide clustered index keys?

662


What are the key configuration files for sql server reporting services ?

128


What is cursors?

721


What are system databases in ms sql server?

606


Explain relational data?

632


What is the advantage of sql server?

628


What is the difference between online clustering and Offline clustering?

2021