SqlException: DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001, SQLERRMC: null

前端 未结 3 1140
生来不讨喜
生来不讨喜 2020-12-15 17:00

What does sqlcode -302 means? Where do i get the sqlcode definitions?

Please advice

Thanks,

3条回答
  •  心在旅途
    2020-12-15 17:39

    To get the definition of the SQL codes, the easiest way is to use db2 cli!

    at the unix or dos command prompt, just type

    db2 "? SQL302"
    

    this will give you the required explanation of the particular SQL code that you normally see in the java exception or your db2 sql output :)

    hope this helped.

提交回复
热议问题