IDENTITY问题求助
set IDENTITY_INSERT YES ONINSERT YES (ID,JE) VALUES(8,12)
INSERT YES (ID,JE) VALUES(9,12)
INSERT YES (ID,JE) VALUES(10,12)
SELECT * FROM YES
ID JE
8.0 12.00
9.0 12.00
10.0 12.00
set IDENTITY_INSERT YES OFF
INSERT YES (JE) VALUES(111)
SELECT * FROM YES
ID JE
8.0 12.00
9.0 12.00
10.0 12.00
5000000000007.0 111.00
5000000000008.0 111.00
如何设置使ID列的值按8\9\10\11\12这样递增,而不是500000000000+数字的形式?
页:
[1]