Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Fill in missing gaps on intergers

$
0
0
given a starting value and an ending value when stored as INT. how can i achieve the following.

[code language="sql"]
CREATE TABLE #T (Id INT IDENTITY(1,1) PRIMARY KEY NOT NULL, StartSeqNo INT, EndSeqN

Viewing all articles
Browse latest Browse all 3145

Trending Articles