Well, I also encountered this problem (among half a million of others) when generating ORACLE code; reason was, I was using domains; if I have a domain "NUMBER16" defined as NUMBER(16), PD would create SQL statements like
CREATE TABLE <tablename> (
<column_name> NUMBER16 not null,
...
)
That is, domain identifiers have not been translated, nor had there been added CREATE TYPE statements or whatever is else needed to translate such type names in a DBMS.
This way, the SQL code snippets created by "SQL Preview" can only be used with caution.
DOes anyone know a way to make PD insert the "correct" (terminal) types?
Werner
(I'm really beginning to hate this ****ing piece of crap; PD 6 was allright, but 9 is hell, at least when using CDM and PDM generation with "preserve modifications" on large models imported from PD6. Simply UNUSABLE)