com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=SPITAL.PACIENT, DRIVER=3.69.49

Stack Overflow | codor | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 1

    Can't execute Query in db2 using Java

    Stack Overflow | 9 months ago | codor
    com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=SPITAL.PACIENT, DRIVER=3.69.49

    Root Cause Analysis

    1. com.ibm.db2.jcc.am.SqlSyntaxErrorException

      DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=SPITAL.PACIENT, DRIVER=3.69.49

      at com.ibm.db2.jcc.am.gd.a()
    2. IBM DB2
      yo.executeQuery
      1. com.ibm.db2.jcc.am.gd.a(Unknown Source)
      2. com.ibm.db2.jcc.am.gd.a(Unknown Source)
      3. com.ibm.db2.jcc.am.gd.a(Unknown Source)
      4. com.ibm.db2.jcc.am.yo.c(Unknown Source)
      5. com.ibm.db2.jcc.am.yo.d(Unknown Source)
      6. com.ibm.db2.jcc.am.yo.a(Unknown Source)
      7. com.ibm.db2.jcc.t4.bb.h(Unknown Source)
      8. com.ibm.db2.jcc.t4.bb.b(Unknown Source)
      9. com.ibm.db2.jcc.t4.p.a(Unknown Source)
      10. com.ibm.db2.jcc.t4.vb.i(Unknown Source)
      11. com.ibm.db2.jcc.am.yo.ib(Unknown Source)
      12. com.ibm.db2.jcc.am.yo.a(Unknown Source)
      13. com.ibm.db2.jcc.am.yo.a(Unknown Source)
      14. com.ibm.db2.jcc.am.yo.executeQuery(Unknown Source)
      14 frames
    3. mydbprog
      tester.main
      1. mydbprog.tester.main(tester.java:19)
      1 frame