-
由pdm生成Oracle脚本时,数据库对象(表、字段等)超过15字符就发生错误
解决办法是打开PDM后,会出现Database的菜单栏,进入Database à Edit Current DBMS à script à objects à table à maxlen,把value值调大(原为30,15字符),比如改成60。出现表或者其它对象的长度也有这种错误的话都可以选择对应的objects(column、index、user、procedure、trigger、synonmy)照此种方法更改!
这个操作修改了D:/Program Files/Sybase/PowerDesigner 15/Resource Files/DBMS/Ora10gr2.xdb这个文件(不同的数据库版本,不同文件)。可以保存它下次再用。
-
建立一个表后,为何检测出现"Existence of index"的警告
A table should contain at least one column, one index, one key, and one reference.
可以不检查 Existence of index 这项,也就没有这个警告错误了!
意思是说没有给表建立索引,而一个表一般至少要有一个索引,这是一个警告,不用管也没有关系!
PowerDesigner技巧集3
最新推荐文章于 2024-05-22 02:08:08 发布