【发布时间】:2011-06-06 14:11:18
【问题描述】:
string insertCommand =
"INSERT INTO Users (UserID) VALUES" + "" + "(CONVERT(uniqueidentifier, '" +
UsersIdentityToinsert + "'),'"+ userName+",0,null')";
它告诉我:
There are fewer columns in the INSERT statement than values specified在 VALUES 子句中。的数量 VALUES 子句中的值必须匹配 中指定的列数 INSERT 语句。
但我有四列?
【问题讨论】: