3. Statements : OpenROAD SQL Statements : Copy Statement : Parameters—Copy Statement
 
Share this page                  
Parameters—Copy Statement
This statement has the following parameters:
table_name
Specifies an existing table from which data is read or to which data is written.
column_name
Specifies the column from which data is read or to which data is written.
format
Specifies the format in which a value is stored in the file.
filename
Specifies the file from which data is read or to which data is written.
type
(Optional) Specifies the file translation type (see Windows File Types for Copy): T or B.
A space after the comma or at the end of the filename causes the name to be taken literally, rather than interpreting a filetype. If a filename ends in a space, Windows removes the trailing spaces so that they do not appear in the actual file name.
with_clause
Consists of the word with, followed by a comma-separated list of one or more of the following items:
on_error = TERMINATE | CONTINUE
error_count = n
rollback = ENABLED | DISABLED
log = 'filename'
The following options are valid for bulk copy operations only. For details about these settings, see Modify (see Modify Statement). The value specified for any of these options becomes the new setting for the table and overrides any previously made settings (either using the modify statement or during a previous copy operation).
allocation = n
extend = n
fillfactor = n (ISAM, Hash, and Btree only)
minpages = n (Hash only)
maxpages = n (Hash only)
leaffill = n (Btree only)
nonleaffill = n (Btree only)
row_estimate = n