Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create table as with NULL values

443882Sep 5 2005 — edited Sep 5 2005
I make a “Create Table as” and I receive the error ORA-01723: zero-length columns are not allowed because I make:

create table TABLE1 as (select field1, fields2, ‘’ my_field3, ‘’ my_field4 from XXX)

I need “my_field3” VARCHAR2(25) and “my_field4” NUMBER(12)


How can I do the “Create table as”???????
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 3 2005
Added on Sep 5 2005
3 comments
880 views