sybase 主键自动增长

CREATE TABLE peng_user(
  userId int   identity,
  userName varchar(10) NULL,
  password  varchar(10) NULL,
  comment  varchar(10) NULL,
  constraint pk_peng_user PRIMARY KEY (userId)
)with identity_gap=1

insert into peng_user(userName,password,comment) values('dd','ff','ggg');


转载地址 :  sybase 主键自动增长


CREATE TABLE peng_user(
  userId int   identity,
  userName varchar(10) NULL,
  password  varchar(10) NULL,
  comment  varchar(10) NULL,
  constraint pk_peng_user PRIMARY KEY (userId)
)with identity_gap=1

insert into peng_user(userName,password,comment) values('dd','ff','ggg');


转载地址 :  sybase 主键自动增长


猜你喜欢

转载自blog.csdn.net/xubo_ob/article/details/75095890