How to get modified time of a table

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Muthu

    How to get modified time of a table

    Hello All,

    I would like to get last modified timestamp for a table. Is there any way to
    get that information using any commands?

    Thanks in Advance,
    Muthu.


  • Erland Sommarskog

    #2
    Re: How to get modified time of a table

    Muthu (muthuviji.k@gm ail.com) writes:
    I would like to get last modified timestamp for a table. Is there any
    way to get that information using any commands?
    No, there is no built-in support for this. You could have to add
    a modified_date column to the table, and then use a trigger to ensure
    that it's updated accordingly.


    --
    Erland Sommarskog, SQL Server MVP, esquel@sommarsk og.se

    Books Online for SQL Server 2005 at

    Books Online for SQL Server 2000 at

    Comment

    • --CELKO--

      #3
      Re: How to get modified time of a table

      >I would like to get last modified timestamp for a table. Is there any way to get that information using any commands? <<

      Before you send your boss to jail, you might want to look at SOX rules
      for audits. Then look at third party tools for such things.

      Comment

      Working...