Previous Topic

Next Topic

Copy

Valid in: SQL, ESQL

The copy statement copies the contents of a table to a data file (copy into) or copies the contents of a file to a table (copy from). The following table briefly describes the valid statement parameters. Details about the parameters are provided in the following sections. For more information on the copy statement, see "Populating Tables" in the Database Administrator Guide.

Previous Topic

Next Topic

Syntax

The Copy statement has the following format:

[EXEC SQL] COPY [TABLE] [schema.]table_name
               ([column_name = format [WITH NULL [(value)]]
              {, column_name = format [WITH NULL [(value)]]}])
              INTO | FROM 'filename[, type]'
              [with-clause]


© 2007 Ingres Corporation. All rights reserved.