Skip to content

Commit d7657fd

Browse files
authored
Create 3-create-external-data.sql
1 parent 0aa11e7 commit d7657fd

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
REM Script: 3-create-external-data.sql
2+
REM Create external helper table with ORACLE_DATAPUMP
3+
4+
-- enter directory name
5+
-- create file salaryless3000.dmp
6+
7+
CREATE TABLE ext_help
8+
ORGANIZATION EXTERNAL
9+
(
10+
TYPE oracle_datapump
11+
DEFAULT DIRECTORY &directoryname
12+
LOCATION ('salaryless3000.dmp')
13+
)
14+
REJECT LIMIT UNLIMITED
15+
AS
16+
SELECT employee_id, salary, job_title
17+
FROM hr.employees_hybrid partition(SALARY_4000);

0 commit comments

Comments
 (0)