Reputation: 19
What is to be used in PDW inplace of identity or is there any other column which can be used instead of Identity column in Parallel Datawarehousing or any alternative how to generate sequentially increasing column.
Upvotes: 2
Views: 398
Reputation: 15849
Try using ROW_NUMBER() OVER (ORDER BY (SELECT 1)) + (SELECT MAX(ID) FROM dbo.TheTable)
Upvotes: 2