Navicat For SQL Server 修改字段为自增主键
[id] int NOT NULL, 修改为: [id] int IDENTITY(1,1) NOT NULL,
设置自动打开的数据库
原文:https://www.cnblogs.com/hool/p/13336484.html