1。编译失败很显然SQL语句有问题
2。String sbsql="create table dog(id int not null IDENTITY(1,1),name varchar(20) not null,health int not null,love int not null,strain varchar(20) not null)";//检查创建表的语句语法
3。如下建表SQL:
CREATE TABLE T_Student(FNumber VARCHAR(20) NOT NULL,FName VARCHAR(20) NOT NULL,FAge INT NOT NULL,FFavorite VARCHAR(20),FPHoneNumber VARCHAR(20))
|