不需要存储过程,在创建表的时候直接写就可以了,不用像在oracle里 先创建一个sequence对象,再引用。如 :create table test (id int identity(1,1),address varchar(200))
这么写就可以了。