读书人

求指导。解决办法

发布时间: 2012-05-28 17:59:33 作者: rapoo

求指导。。
alter table studentDataSet2._Sheet1_ add 2011,7,4 char(20) null
为什么字2011和 char(20)下面 有红线 提示错误
消息 102,级别 15,状态 1,第 11 行
'2011' 附近有语法错误。

[解决办法]
alter table studentDataSet2._Sheet1_ add [2011,7,4] char(20) null
[解决办法]

SQL code
alter table studentDataSet2._Sheet1_ add [2011,7,4] char(20) null 

读书人网 >SQL Server

热点推荐