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 get a list of columns in a view using the "sp_columns" stored procedure?

610


Is null vs coalesce?

498


What is primary key and example?

498


How to convert numeric values to integers in ms sql server?

525


How does clustered and non clustered index work?

510






What do you mean by tablesample?

633


Can I disable or restrict ssrs export formats (rendering formats)?

108


What is an active database?

588


What do you understand by mirroring?

560


How you can add messages to the nt event log from within a stored procedure?

563


Do comments need to go in a special place in sql server 2005?

504


What is the fastest way to permanently delete a 1 million row table named customers?

592


Introduction of rollup clause using sum and group by clause?

530


How to Check if table exists in sql server?

614


What are the 10 characteristics of data quality?

523