PL/SQL Block Structure DECLARE (Optional) Variables, cursors, user-defined exceptions BEGIN (Mandatory) - SQL Statements - PL/SQL statements EXCEPTION Actions to perform when errors occur END; (Mandatory) ** The END block is terminated with a semicolon. Oracle/PL/SQL 2006.12.31
PL/SQL Block Structure DECLARE (Optional) Variables, cursors, user-defined exceptions BEGIN (Mandatory) - SQL Statements - PL/SQL statements EXCEPTION Actions to perform when errors occur END; (Mandatory) ** The END block is terminated with a semicolon. Oracle/PL/SQL 2006.12.31
Creating an External Table Basic Syntax) CREATE TABLE ( , …..) ORGANIZATION EXTERNAL (TYPE DEFAULT DIRECTORY ACCESS PARAMETERS ( … ) ) LOCATION ('') ) REJECT LIMIT [0 | | UNLIMITED]; ORGANIZATION EXTERNAL : The clause to create an external clause. In fact, you will not create an actual table in the database, instead you will create metadata in the data dictionary which can be used to access to the external table. The exte.. Oracle 2006.12.07
Creating an External Table Basic Syntax) CREATE TABLE ( , …..) ORGANIZATION EXTERNAL (TYPE DEFAULT DIRECTORY ACCESS PARAMETERS ( … ) ) LOCATION ('') ) REJECT LIMIT [0 | | UNLIMITED]; ORGANIZATION EXTERNAL : The clause to create an external clause. In fact, you will not create an actual table in the database, instead you will create metadata in the data dictionary which can be used to access to the external table. The exte.. Oracle 2006.12.07
External Tables [1] An External Table : A read-only table Only meta-data is stored in the database No DML operations are possible, No indexes. CREATE TABLE AS SELECT statement is possible. Two major access drivers ORACLE_LOADER ORACLE_DATAPUMP : import and export data CREATE TABLE AS SELECT statement is possible. Read data from a table in the database and insert it into an external table. After initial population, .. Oracle 2006.12.07
External Tables [1] An External Table : A read-only table Only meta-data is stored in the database No DML operations are possible, No indexes. CREATE TABLE AS SELECT statement is possible. Two major access drivers ORACLE_LOADER ORACLE_DATAPUMP : import and export data CREATE TABLE AS SELECT statement is possible. Read data from a table in the database and insert it into an external table. After initial population, .. Oracle 2006.12.07