DBMS_CLOUD.COPY (Upload Excel/CSV Data into Table on cloud)

 

1) Create Credential on Cloud 

2) Login with sql developer

3) Create table in my case TVEH

4) Perform the below  procedure 



begin
DBMS_CLOUD.COPY_DATA(
    table_name =>‘TVEH’,
    credential_name =>‘DEV’,
    file_uri_list =>‘https://objectstorage.us-ashburn-1.oraclecloud.com/n/<name space name >/b/BigData/o/file_name.csv’,
    format => json_object(‘type’ value ‘CSV’,‘ignoremissingcolumns’ value ‘true’,‘rejectlimit’ value ‘100’)
 );

Comments

Popular posts from this blog

Telegram Integration with Oracle

The username or password for the connection pool named |apex||, are invalid, expired, or the account is locked

Enabled SQL Developer Web (SDW) & ORDS Database API ORDS 19.4