on 10-15-2021 10:36 AM
Since oracle 12c, table names (also index names, constraint names, ...) are allowed to be more than 40 characters long.
In PowerDesner (16.7), I create the DDL-statements from my model.
I modified the model options Naming conventions --> Table --> Code --> Maximum lenght: 128 characters. So all codes can have 128 characters.
When doing "generate Database" with DBMS "Oracle Version 19c", all the identifiers (table names, index names, ..) are truncated to 40 characters.
Is there a way to create Oracle DDL-statements with table-names > 40 characters ?
Hi Geert,
setting maximum allowed lengths is a little bit tricky in PowerDesigner. There are two places where you can affect it and PowerDesigner automatically applies the stricter setting to generated code. One place is Model Options - Naming Convention. To be precise, Naming conventions node and Naming Convention - Table node, which can override general settings from Naming Convention node.
The other place is in your definition file. Open menu Database - Edit current DBMS file and go to Script\Objects\Table\Maxlen. There you find your 30 characters restriction. If you enlarge it here, it will start working as you need. You have to adjust it separately for other objects too (Column, Index, etc.)
Regards,
Ondrej Divis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<
When doing generate Database with DBMS "Oracle Version 19c", all the identifiers (table names, index names, ..) are truncated to 40 characters.
>
Why? Do you have any idea whether the "truncated to 40 characters" was done by application on top of this database, or database itself? It looks database itself won't do cut.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.