Last Modified Date of stored procedure

  • Hi Experts

    IS it possible to find the Last Modified Date of stored procedure in SQL server 2000 .

    sysobjects gives me only the created time

    Thax

    Tanx 😀

  • This info isn't stored anywhere in SQL 2000.

    Greg

  • What about when a table was last modified that doesn't involve using a trigger?

  • Are you looking for that last time data in the table was changed, or the last time the table structure was changed (added a column, for example)?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • I'm referring to when a table was inserted into or deleted from.

  • I'm referring to when a table was inserted into or deleted from.

  • Laura Schmalzbauer (3/25/2009)


    I'm referring to when a table was inserted into or deleted from.

    For that you'll have to use trace or trigger or to use stored procedure to allow data modification, and in the procedure insert the logging data into a different table (notice that administrators will be able to modify data in the table directly).

    Adi

    --------------------------------------------------------------
    To know how to ask questions and increase the chances of getting asnwers:
    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    For better answers on performance questions, click on the following...
    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

  • Laura Schmalzbauer (3/25/2009)


    I'm referring to when a table was inserted into or deleted from.

    For that you'll have to use trace or trigger or to use stored procedure to allow data modification, and in the procedure insert the logging data into a different table (notice that administrators will be able to modify data in the table directly).

    Adi

    --------------------------------------------------------------
    To know how to ask questions and increase the chances of getting asnwers:
    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    For better answers on performance questions, click on the following...
    http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

Viewing 8 posts - 1 through 7 (of 7 total)

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