Generate unique 9 digits values
问题 I have a table as shown below: Group --------------------------- Id Num Name Age --------------------------- 1 424000000 Damine 22 2 324000000 Arshley 18 3 276000000 Tita 20 4 424000000 Helen 21 5 424000000 Mary 19 6 324000000 Kathe 20 7 324000000 Mark 18 8 276000000 Phill 22 i want to make the Num col unique so i need to generate 9 digit numeric random values for the duplicates. please help, Thanks 回答1: you set the num column as an identity field with a seed like 100000000 or just set the