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.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Check to see if any row data has changed

Author  Topic 

bubberz
Constraint Violating Yak Guru

289 Posts

Posted - 2007-01-25 : 11:14:08
In our appliation, we have a "Close" button, that when the users click it, we update the records just in case as a safety net...this was by design when the application was first developed.

Is there a way to check to see if the whole row (about 25 columns) has changed w/o having an Update trigger for each column?

We don't want to override the "Updated Date" unless the row / any data has changed.

Thanks!

Kristen
Test

22859 Posts

Posted - 2007-01-25 : 11:15:41
Use CHECKSUM() to compare before/after?

Kristen
Go to Top of Page
   

- Advertisement -