INF: Updating a Row a Second Time in Browse Mode

ID Number: Q45257

1.10 1.11 4.20

OS/2

Summary:

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. For more information, refer to

pages 192-195 in the "Microsoft SQL Server Programmer's Reference."

Additional reference words: DB-LIBRARY db-lib dblib