SET ROWCOUNT 3 SELECT Col1, Col2, ID=IDENTITY (int, 1, 1) INTO NewTable FROM OldTable Order By Col1.
support.microsoft.com