You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Load data to ADW through DBMS_CLOUD

Received Response
39
Views
2
Comments
edited Sep 19, 2019 9:25AM in Autonomous Database 2 comments

Content

Hi All,

I am trying to load data into ADW from oracle object store through DBMS_CLOUD but getting below error .  so how to debug below error. I think error is occurs due to something wrong in - file_uri_list. Please suggest 

Error report - ORA-20000: ORA-44003: invalid SQL name

ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line 565

ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line 1043

ORA-06512: at "C##CLOUD$SERVICE.DBMS_CLOUD", line

1064 ORA-06512: at line 2 20000. 00000 - "%s" 

Thanks

Code Snippet

begin
 dbms_cloud.copy_data(
    table_name =>'adwc_user.CHANNELS',
    credential_name =>'OBJ_STORE_CRED',
    file_uri_list =>'https://objectstorage.us-ashburn-1.oraclecloud.com/n/indiafieldse/b/Load_adw/o/chan_v3.dat',
    format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true')
 );
end;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!