日期:2014-05-20  浏览次数:20635 次

SQL 语句的问题
程序运行时报错:语法错误,保忙一改吧,顺边解释解释!
stmt.executeUpdate( "Update   ifo   set   年龄   =   年龄   + "   +   "sum "   +   "where   年龄   =1   ");

------解决方案--------------------
stmt.executeUpdate( "Update ifo set ago = ' "+ "年龄 " + " ' ,sum= ' "+ "30 " + "where ago =1 ");