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

explain how to create a new schema in a database? : Sql server database administration

586


How to check status of stored procedure in sql server?

455


What is the difference between ‘having’ clause and a ‘where’ clause?

559


What are the components of dbms?

538


What are cursors? Explain different types of cursors. What are the disadvantages of cursors? How can you avoid cursors?

694






What is the distinction amongst delete and truncate?

593


How and why use sql server?

558


What is default constraint?

545


What type of Index will get created after executing the above statement?

649


What is resource governor?

552


How to truncate the log in sql server 2012? : sql server database administration

579


Explain the difference between function and stored procedure?

523


What are the parts of a function?

530


Is sql different from sql server?

520


How can we solve concurrency problems?

578