Mssql语法问题,消息 156,级别 15,状态 1,第 6 行 关键字 'Create' 附近有语法错误。求指导,谢谢
use[SHDB_ACCOUNT]CreateTable[dbo].[content](id[int]IDENTITY(1,1)NOTNULLprimarykey,con...
use [SHDB_ACCOUNT]
Create Table [dbo].[content](
id [int] IDENTITY(1,1) NOT NULL primary key,
content [text] NOT NULL
)
insert into content values
Create Table [dbo].[extSys](
id [int] IDENTITY(1,1) Not Null primary key,
tid [int] not null,
crystal [varchar](50) not null,
ip [varchar](50) not null
)
use [SHDB_ACCOUNT]
ALTER TABLE dbo.baseinfo_pass ADD CRYSTAL int NOT NULL DEFAULT 0,DIAMOND int NOT NULL DEFAULT 0
use [SHDB_KF]
ALTER TABLE dbo.CharInfo ADD totalLevel int NOT NULL DEFAULT 0,COLTime int NOT NULL DEFAULT 0,reincarnattion int NOT NULL DEFAULT 0
ALTER TABLE dbo.PetInfo ADD totalLevel int NOT NULL DEFAULT 0,reincarnattion int NOT NULL DEFAULT 0 展开
Create Table [dbo].[content](
id [int] IDENTITY(1,1) NOT NULL primary key,
content [text] NOT NULL
)
insert into content values
Create Table [dbo].[extSys](
id [int] IDENTITY(1,1) Not Null primary key,
tid [int] not null,
crystal [varchar](50) not null,
ip [varchar](50) not null
)
use [SHDB_ACCOUNT]
ALTER TABLE dbo.baseinfo_pass ADD CRYSTAL int NOT NULL DEFAULT 0,DIAMOND int NOT NULL DEFAULT 0
use [SHDB_KF]
ALTER TABLE dbo.CharInfo ADD totalLevel int NOT NULL DEFAULT 0,COLTime int NOT NULL DEFAULT 0,reincarnattion int NOT NULL DEFAULT 0
ALTER TABLE dbo.PetInfo ADD totalLevel int NOT NULL DEFAULT 0,reincarnattion int NOT NULL DEFAULT 0 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询