sybase中自增长的字段的操作

test 表
id identity
name char(8)

 在sybase中自增长的字段手动插值时,set identity_insert test on

1> insert into test (id,name) values (5,"succ")
2> go

sybase的自增列时,set identity_insert test off

1> insert into test(name) values("succ")
2> go

你可能感兴趣的:(Sybase,Go)