请教,这句SQL语句哪里格式有问题
问题描述:
string sqlcmd = "CREATE TABLE Document (Name VarChar(20) PRIMARY KEY, Top integer, Left integer, Width integer, Height integer)";
答
Top Left 是SQL 保留字 要使用,,加[],,
[Top] int
[Left] int