I exported an Azure SQL DB in the bacpac format, and imported it to a new server. All data is restored as it should be. However my tables have a timestamp (rowversion) column.
This means importing to another server changes the values in these columns as rowversion type is server dependent.
I need to keep these values the same in the new db. So whats the best way to accomplish this?
As timestamp is of type binary(8), I tried to make a binary(8) column where I copied the timestamp values into, which works. Than I tried to alter the binary(8) to timestamp, as it is basically the same? However I get this error:
Failed to execute query. Error: Cannot alter column 'mycol' to be data type timestamp.
Do you have any ideas how I can make altering binary(8) to timestamp work.
Or do you have ideas on how to restore the db and keep the timestamp values the same?