Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LUPDATE of Table in Microsoft SQL Database
Message
From
23/01/2008 06:43:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01284361
Message ID:
01284372
Views:
10
>Is there a way of determining the last date/time a TABLE was updated (a table, not the database itself) in Microsoft SQL Server 2005+? I'm using ADO.NET.
>
>I'm trying to avoid creating a separate datetime stamp field in each table for this purpose -- is there an easier way? I've done a general search through MS SQL documentation and I can't find anything.
>
>Thanks in advance.

I don't know if exists one. You can create a trigger on tables that would log insert/update/delete dates (and maybe other things like SUSER_SNAME()...) in an audit table.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform