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

Query Help

$
0
0
Need help on a query to generate a two incremental values on below table.
Both the BatchNo and BatchSequenceNo should begin at 1.
The BatchSequenceNo should increment by 1, upto 500 rows.
At 501 row, the BatchNo should be incremented by 1,(ie

Viewing all articles
Browse latest Browse all 3145

Trending Articles