INF: Updating a Row a Second Time in Browse Mode |
Q45257
The information in this article applies to:
- Microsoft SQL Server Programmer's Toolkit, version 4.2
In browse mode, it is possible to update a row a second time after the first update modified the column that dbqual is using to identify the row. If the row is modified a second time, the WHERE clause generated by dbqual the second time will be invalid unless the row is reaccessed. Nothing special is done. You can avoid reaccessing the row by adjusting the data values (if they have changed) and the timestamp value (which always changes) in the WHERE clause. The dbtsnewval() function is provided for this purpose.
Additional query words: DB-Library DB-Lib dblib Windows NT
Keywords : kbprogramming
Issue type :
Technology : kbSQLServSearch kbAudDeveloper kbSQLServPTK420
Last Reviewed: March 7, 1999 |