Print Thread
Partitioned Tables' DDL not shown correctly
#53379 03/31/16 07:13 AM
Joined: Jan 2008
Posts: 11
I
iratta Offline OP
Member
OP Offline
Member
I
Joined: Jan 2008
Posts: 11
Oracle DB version: 11.2.0.4
PL/SQL Developer Version 11.0.4.1774

I've noticed that, for the DDLs generated by PL/SQL developer for some partitioned tables, the partition method is missing. ie. PARTITION BY RANGE or PARTITION BY LIST or PARTITION BY HASH is missing .

I created a very basic partitioned test table. But , its DDL is shown correctly.

For for a lot of production tables, the partition method is missing.Below is a sample DDL generated by PL/SQL developer. The syntax is wrong as it doesn't show the partition method.

create table T1
(
order_type_mnemonic VARCHAR2(254 CHAR) not null,
order_source_mnemonic VARCHAR2(254 CHAR) not null,
namespace_mnemonic VARCHAR2(254 CHAR) not null,
order_seq_id NUMBER(18),
key VARCHAR2(2000) not null
)
partition by (ORDER_SEQ_ID)
----------> It should be PARTITION BY RANGE or PARTITION BY LIST or PARTITION BY HASH

Toad is showing the DDL correctly. Is this is a know issue in PL/SQL developer?

Re: Partitioned Tables' DDL not shown correctly
iratta #53381 03/31/16 09:00 AM
Joined: Aug 1999
Posts: 22,217
Member
Offline
Member
Joined: Aug 1999
Posts: 22,217
That's odd. We'll check it out.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.098s Queries: 14 (0.015s) Memory: 2.5005 MB (Peak: 3.0423 MB) Data Comp: Off Server Time: 2024-05-13 13:55:35 UTC
Valid HTML 5 and Valid CSS