Usage for tsequal

There are additional considerations for using tsequal.

See also Transact-SQL Users Guide.

Adding a Timestamp to an Existing Table

To prepare an existing table for browsing, add a column named timestamp using alter table. For example, to add a timestamp column with a NULL value to each existing row:
alter table oldtable add timestamp
To generate a timestamp, update each existing row without specifying new column values:
update oldtable
set col1 = col1
Related concepts
timestamp Datatype