PowerDesigner 反向 PostgreSQL 时 Unable to list the columns. SQLSTATE =22003 的解决方法

PowerDesigner 16.5反向PostgreSQL9.01 Unable to list the columns. SQLSTATE =22003不良的类型值 short : t解决方法

DatabaseEdit Current DBMS… General tabPostgreSQL 9.xScriptObjectsColumnSqlListQuery

or ToolsResourceDBMSPostgreSQL9.x...同上。

replaced column in SELECT:

     c.attnotnull

to:

     CAST(NULLIF(c.attnotnull,false) asVARCHAR(1))

 

PowerDesigner 反向 PostgreSQL 时 Unable to list the columns. SQLSTATE =22003 的解决方法_第1张图片


Similarly in

...Script\Objects\Key\SqlListQuery

replaced column in SELECT:

     x.indisprimary

to:

     CAST(NULLIF(x.indisprimary,false) asVARCHAR(1))

 

来自 <http://www.cnblogs.com/ITbbs/p/4441693.html

你可能感兴趣的:(数据库)