12.07.2015 Views

Oracle SQL Developer

Oracle SQL Developer

Oracle SQL Developer

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Create/Edit Table (with advanced options)External Table Properties tabSpecifies options for an external table, which is a read-only table whose metadata isstored in the database but whose data in stored outside the database. Among othercapabilities, external tables let you query data without first loading it into thedatabase.Access Driver: The access driver of the external table. The access driver is the API thatinterprets the external data for the database: ORACLE_LOADER or ORACLE_DATAPUMP. You must specify the ORACLE_DATAPUMP access driver if you specifythe AS subquery clause to unload data from one <strong>Oracle</strong> database and reload it into thesame database or a different <strong>Oracle</strong> database.Access Type: Type of data to be automatically converted during loads and unloads:BLOB or CLOB.Default Directory: A default directory object corresponding to a directory on the filesystem where the external data sources may reside. The default directory can also beused by the access driver to store auxiliary files such as error logs.Project Column: Determines how the access driver validates the rows of an externaltable in subsequent queries. ALL processes all column values, regardless of whichcolumns are selected, and validates only those rows with fully valid column entries. Ifany column value would raise an error, such as a data type conversion error, the row isrejected even if that column was not referenced in the select list. REFERENCEDprocesses only those columns in the select list.The ALL setting guarantees consistent result sets. The REFERENCED setting can resultin different numbers of rows returned, depending on the columns referenced insubsequent queries, but is faster than the ALL setting. If a subsequent query selects allcolumns of the external table, then the settings behave identically.Reject Limit: The number of conversion errors can occur during a query of theexternal data before an <strong>Oracle</strong> Database error is returned and the query is aborted.Access Parameters: Values to the parameters of the specific access driver for thisexternal table.Location Specifications: One or more external data sources. Each is usually a file, butit need not be. <strong>Oracle</strong> Database does not interpret this clause; it is up to the accessdriver to interpret this information in the context of the external data. Use the Add (+)icon to add each location specification.DDL tabYou can review and save the CREATE TABLE statement that <strong>SQL</strong> <strong>Developer</strong> will useto create a new table or that reflects any changes you have made to the tableproperties. If you want to make any changes, go back to the relevant tabs and makethe changes there.To save the <strong>SQL</strong> statement to a script file, click Save and specify the location and filename.When you are finished, click OK.Related TopicsCreate Table (quick creation) (dialog box with limited features)Database Objects<strong>SQL</strong> <strong>Developer</strong> User InterfaceTutorial: Creating Objects for a Small Database3-16 <strong>SQL</strong> <strong>Developer</strong> Online Help

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!