码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2015-04-20 16:44:21      阅读:450      评论:0      收藏:0      [点我收藏+]

标签:

Database?Edit Current DBMS… General tab?PostgreSQL 9.x?Script?Objects?Column?SqlListQuery

or Tools?Resource?DBMS?PostgreSQL9.x...同上。

replaced column in SELECT:

     c.attnotnull

to:

     CAST(NULLIF(c.attnotnull,false) as VARCHAR(1))

 技术分享

Similarly in

...Script\Objects\Key\SqlListQuery

replaced column in SELECT:

     x.indisprimary

to:

     CAST(NULLIF(x.indisprimary,false) as VARCHAR(1))

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

标签:

原文地址:http://www.cnblogs.com/ITbbs/p/4441693.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!