SQL> DROP TABLE customers; SQL> CREAT TABLE customers ( 2 name VARCHAR(32), 3 SSN CHAR(10) PRIMARY KEY, 4 no INTEGER CHECK (no >= 0) ); SQL> COMMIT;
shell⯈ sqlldr user_id/password@xe control=customers.ctl
shell⯈ cat dbload.sh sqlplus user_id/password@xe @create.sql sqlldr user_id/password@xe control=customers.ctl shell⯈ sh dbload.sh
| Mum’s the word. |