powerdesiginer 生成oracle脚本问题,一步解决

select * from tablename时,

总是提示错误:table or view does not exits

但是在user_tables中却可以看到刚建立的表。

原因是powerDesigner的表名和字段名都自动加了双引号!

所以要么,select * from "tablename"

要么,把这些表删了,改改sql语句,重新建表咯~~

注:

后来的后来发现,power designer中可以设置字段名不加引号,去掉表名或者字段名的双引号,方法如下:

edit current DBMS -> General -> Script -> Sql -> Format -> CaseSensitivityUsingQuote 勾选no

但是要注意,如果用数据库本身的关键字,作为表名,这个表名仍然会被加上双引号。

 
原文地址:https://www.cnblogs.com/sloveling/p/powerdesiginer.html