读书人

偶很菜高手来指点一下哈快疯掉了,

发布时间: 2012-01-01 23:10:55 作者: rapoo

偶很菜,高手来指点一下哈,快疯掉了
大家知道这个是什么错误吗??都快疯了
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

读书人网 >J2EE开发

热点推荐