Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get last update date for a table in sql server
Message
De
02/07/2000 11:55:09
 
 
À
01/07/2000 23:02:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00387488
Message ID:
00387543
Vues:
18
David,

One idea would be to add an Insert,Update,Delete (or you could break it up into three to determine when the last, Insert, Update, or Delete was done.) trigger to the table you would like to know this info, use the SQL GETDATE() function to store the current system date in a different table that you can query later.

John

>Now, however, I'm working with a SQL Server application. I don't know the application well, so, after I perform some function with it, I want to know what tables were updated - either delete, adds or changes.
>
>I would think this would be easy in SQL Server 7, but I can't figure it out. I can't find any system stored procedures, system tables etc. that store this.
>
>Thanks in advance for your help.
>
>David Schlesinger
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform