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!

ORA-00997: illegal use of LONG datatype during create table as

977981Dec 4 2012 — edited Dec 5 2012
hello I need to create new table with structure like other one chosen by me. I've got table Countries(Country_id char, country_name varchar, region_id number) and while compiling :

create table countries_copy as (select * from all_tab_columns where owner in('HR') and table_name in ('COUNTRIES'));

i'm always getting error:
ORA-00997: illegal use of LONG datatype.

what i need to do?

P.S. sorry for my english.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 2 2013
Added on Dec 4 2012
14 comments
17,172 views