[Microsoft][ODBC Microsoft Access 驱动程序] 字符串的语法错误 在查询表达式

2024-11-22 06:19:58
推荐回答(1个)
回答1:

String sql = "SELECT STUNO,STUNAME,STUSEX FROM T_STUDENT where STUNO is ' " +account +
" ' and STUNAME is ' " + name + " " ;

把 is 改成 =