您好,登录后才能下订单哦!
Upload “Email-Match Export.csv” to the SFTP Server
------------create directory
create directory xtern_data_dir_yilin as '/backup/yilin';
------------grant access
GRANT READ, WRITE ON DIRECTORY xtern_data_dir_yilin TO willldb;
Login to Database with WILLLDB
------------create table
SQL> CREATE TABLE survey_respdts_yilin
2 (
3 email_address VARCHAR(200)
4 )
5 ORGANIZATION EXTERNAL
6 (DEFAULT DIRECTORY xtern_data_dir_yilin
7 ACCESS PARAMETERS (
8 RECORDS DELIMITED BY NEWLINE
9 FIELDS TERMINATED BY ".com" LDRTRIM
10 )
11 LOCATION ('Email-Match Export.csv'));
CREATE TABLE survey_respdts_yilin
*
ERROR at line 1:
ORA-25153: Temporary Tablespace is Empty
SQL> create temporary tablespace temp01 tempfile 'd:oracleoradatatestdbtemp01
2 .dbf' size 100m;
Tablespace created.
SQL> alter database default temporary tablespace temp01;
Database altered.
SQL> CREATE TABLE survey_respdts_yilin
2 (
3 email_address VARCHAR(200)
4 )
5 ORGANIZATION EXTERNAL
6 (DEFAULT DIRECTORY xtern_data_dir_yilin
7 ACCESS PARAMETERS (
8 RECORDS DELIMITED BY NEWLINE
9 FIELDS TERMINATED BY ".com" LDRTRIM
10 )
11 LOCATION ('Email-Match Export.csv'));
Table created.
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。