sql的问题,建议楼主把构造出来的sql语句打印出来,然后拿到sqlplus中执行试试。

解决方案 »

  1.   

    ORA-00936 missing expressionCause: A required part of a clause or expression has been omitted. 
    For example, a SELECT statement may have been entered without a 
    list of columns or expressions or with an incomplete expression. 
    This message is also issued in cases where a reserved word is 
    misused, as in SELECT TABLE. Action: Check the statement syntax and specify the missing 
    component. 
      

  2.   

    提示无法执行select语句,你的select中缺少必要的结构,好像是无法使用select * 这种保留字,楼主可以试试,将所有的列名写出来
      

  3.   

    好像是select语句的问题吧!试试楼上那位兄弟说的方法吧!!