Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Timestamp of record/table without using a field
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

gelliott
Junior Member

USA
268 Posts

Posted - 20 August 2003 :  18:33:10  Show Profile
Is there a way to read the timestamp of the last time a record or table was written to, aside from creating a field and dumping Now() to it each time code writes to it?

I have a db that gets imports at intervals, and my ASP pages simply provide web reporting off that table. I'd like to identify on the report how old the data is. I don't want to use FileSystemObject to read the timestamp of the db itself. Is there another way?

* The optimist says the cup is half full. The pessimist says it's half empty. But the engineer knows the truth - the cup's design is incorrectly sized.

jfitz
Junior Member

USA
345 Posts

Posted - 20 August 2003 :  21:13:38  Show Profile
If you are using MSSQL, you could create a TRIGGER that dumped the getdate() value into somewhere that you could access, possibly, even, a text file that you could use as an INCLUDE in your ASP page. I don't know if writing to a file is possible from a stored procedure, but it might be worth investigating.

--Jördan
It's a wasted day if you don't spend at least part of it flying upside down.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07