本人记性不好,老忘记id增长sql语句,所以特意记录一下

sqlServer : create table tb(id int identity(1,1),constraint pkid primary key (id),name nvarchar(255))

mysql:create table student(id INT primary key NOT NULL AUTO_INCREMENT,name nvarchar(255));

sqlite:create table t_person (personid integer primary key autoincrement not null,name varchar(20),phone varchar(12) null )

相关文章:

  • 2021-12-12
  • 2021-09-14
  • 2021-12-04
  • 2021-12-18
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-29
  • 2021-11-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-02
相关资源
相似解决方案