首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2EE开发 >

偶很菜,高手来指点一下哈,快疯掉了,该如何解决

2012-01-01 
偶很菜,高手来指点一下哈,快疯掉了大家知道这个是什么错误吗??都快疯了java.sql.SQLException: [Microsoft

偶很菜,高手来指点一下哈,快疯掉了
大家知道这个是什么错误吗??都快疯了
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]The name "_blog_base_url" is not permitted in this context. Valid expressions are constants, constant expressions, and (in some contexts) variables. Column names are not permitted.
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)


[解决办法]
不能把表字段的名字直接放在SQL表达式里
[解决办法]
贴sql

热点排行