ORA-02026: missing LINK keyword
Cause: keyword missing
Action: supply missing keyword
等
ORA-02026是Oracle数据库中的一个常见错误,它表明必须使用LINK关键字来为外部表指定架设的连接。
CREATE TABLE external_table_name
(
col1 VARCHAR2(10),
col2 INT
)
ORGANIZATION EXTERNAL
(
TYPE ORACLE_LOADER
DEFAULT DIRECTORY dir_name
ACCESS PARAMETERS
(
RECORDS DELIMITED BY NEWLINE
FIELDS TERMINATED BY ‘,’
MISSING FIELD VALUES ARE NULL
(col1, col2)
)
LOCATION (‘file_name.csv’)
LINK NAME “odbc_source_name”
);