SQL Statment to find out the Objects modified in given date

  • Hi,

    can you please give a sql statment to find all the stored procedures, views, etc. in a database that have been modified since a certain date?

    Regards,

    Ezhilan

  • There's no way to do this. The change date isn't tracked.

  • if you are using sql 2005 u r in luck....it maintains the versions...

    try this command and you can see how many times a procedure created...

    select * from syscomments c, sysobjects o

    where o.xtype not in ('S', 'U')

    and o.id = c.id and o.id = object_id(' ')

    Prakash Heda
    Lead DBA Team - www.sqlfeatures.com
    Video sessions on Performance Tuning and SQL 2012 HA

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply