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

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

时间:2016-08-12 23:50:17      阅读:1046      评论: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))

 

注:http://www.cnblogs.com/ITbbs/p/4441693.html

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

标签:

原文地址:http://www.cnblogs.com/yuluo/p/5766911.html

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