Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sbt1
Yak Posting Veteran
89 Posts |
Posted - 2003-12-11 : 06:55:38
|
| I have an app used by 20-30 users at the same time. Each instance updates a schedule board every 5 minutes. To do so, it has to run a query and populate it's display.I'd like to optimize this by suppressing this "refresh" activity if no changes have been made to the database. Is there a way to determine the date & time of the last record change by querying a system table, or do I have to have my application write this info to a table in the database and check it that way? It'd be easier if a system table or function did this. |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2003-12-11 : 06:57:34
|
| You have to implement it yourself.You could put a timestamp column on the table and check the max of that.Could also use a trigger to update a date field in a single row table.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|