25.09.2015 Views

Teradata Parallel Data Pump

Teradata Parallel Data Pump Reference - Teradata Developer ...

Teradata Parallel Data Pump Reference - Teradata Developer ...

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

Chapter 3: <strong>Teradata</strong> T<strong>Pump</strong> Commands<br />

TABLE<br />

TABLE<br />

Purpose<br />

The TABLE command identifies a table whose column names and data descriptions are used<br />

as the names and data descriptions of the input record fields. These are assigned in the order<br />

defined. The TABLE command must be used with the LAYOUT command.<br />

Syntax<br />

.TABLE<br />

tableref<br />

;<br />

3021A035<br />

where<br />

Syntax Element<br />

tableref<br />

Description<br />

Existing table whose column names and data descriptions are assigned, in the<br />

order defined, to fields of the input data records<br />

The column names of the table specified by the TABLE command must be<br />

<strong>Teradata</strong> SQL column names that do not require being enclosed in quotation<br />

marks. Tables cannot be created with invalid column names. Any nonstandard<br />

column name causes one of three kinds of errors, depending on the nature of<br />

the divergence from the standard. These errors are:<br />

• Embedded blanks cause a syntax error, depending on the non-blank<br />

contents of the name.<br />

• Invalid characters cause an invalid name error.<br />

• Reserved words cause a syntax error that mentions invalid use of the<br />

reserved word.<br />

Usage Notes<br />

One or more TABLE commands may be intermixed with the FIELD command or FILLER<br />

command following a LAYOUT command.<br />

This method of specifying record layout fields assumes each field, as defined by the data<br />

description of the corresponding column of tableref, is contiguous with the previous one,<br />

beginning at the next available character position beyond any previous field specifications for<br />

the input records. The fields must appear in the order defined for the columns of the table.<br />

The object identified by the tableref parameter must be a table. It need not appear as a<br />

parameter of the BEGIN LOAD command, but the user must either be an owner of the object<br />

or have at least one privilege on it. If specified as an unqualified table name, the current<br />

default database qualifies it.<br />

186 <strong>Teradata</strong> <strong>Parallel</strong> <strong>Data</strong> <strong>Pump</strong> Reference

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

Saved successfully!

Ooh no, something went wrong!