案例名称:创建Identity列
程序名称:3-07.sql
CREATE TABLE Student (
StudID int Identity (101, 5),
FirstName VARCHAR(20),
LastName VARCHAR(20)
)
INSERT INTO Student(FirstName, LastName) VALUES('runfa','zhou')
SELECT * FROM student
案例名称:创建Identity列
程序名称:3-07.sql
CREATE TABLE Student (
StudID int Identity (101, 5),
FirstName VARCHAR(20),
LastName VARCHAR(20)
)
INSERT INTO Student(FirstName, LastName) VALUES('runfa','zhou')
SELECT * FROM student