首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

求指导。解决办法

2012-05-28 
求指导。。alter table studentDataSet2._Sheet1_ add 2011,7,4 char(20) null为什么字2011和char(20)下面有

求指导。。
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 

热点排行
Bad Request.