Skip to Main Content

SQLcl

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

SQLcl CTAS Command question

daniel_haukeAug 24 2018 — edited Aug 27 2018

Hi everybody,

we are using Oracle SQLDeveloper Command-Line (SQLcl) version: 18.2.0.0.

I was trying to use the ctas Command to create the ddl from a table in a different tablespace. I was executing this command as sys User.

But it always throws me the following error:

SQL> ctas user1.test1 test;Create Table As Select command failed to get DDL for table "user1"

Is it not possible to use this command to create a table from different schemas? The command execute without errors when i want to create a table from my own schema.

Greetings Daniel

This post has been answered by Glen Conway on Aug 24 2018
Jump to Answer

Comments

Processing

Post Details

Added on Aug 24 2018
3 comments
369 views