Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

T-SQL(MSSQL 2005)Reorder Scope_identity

$
0
0

Hello , fellow developers !

Have a small table of 2 columns on MSSQL Server 2005 which contains a lot of information let's say about 1 billion records and it is constantly being written into.

Definition of the table is :

Createtable Test(
id int identity(1,1)primarykey,
name varchar(30))

In the perfect case scenario there will be nothing missing from this table , but due to server errors some data maybe deleted or some of my associates might be wasteful and delete it by fault, I have logs I have the data I can recover it, but I want to prove that the records are sequenced , that they follow each other even if there is a server error and some of them are deleted but later on reinstated. Is there a way to do this ?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>