Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server database max row RowVersion

Does anyone know if there is a way I can get a database's max RowVersion value? The database I am using is SQL Server 2008.

Thanks.

like image 335
frostred Avatar asked Oct 20 '10 22:10

frostred


1 Answers

Are you looking from @@DBTS, which is the last used value? The variable name still references the deprecated TIMESTAMP (TS part) data type but it's the ROWVERSION last value.

SELECT @@DBTS
like image 93
bobs Avatar answered Dec 21 '22 03:12

bobs



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!