Previous Topic

Next Topic

With Clause Options

Valid WITH clause options for the COPY statement are as follows:

Previous Topic

Next Topic

Previous Topic

Next Topic

Previous Topic

Next Topic

Logging works as follows:

Windows: COPY opens the log file prior to the start of data transfer. If it cannot open the log file, copy halts. If an error occurs when writing to the log file, copy issues a warning, but continues. If the specified log file already exists, it is overwritten with the new values (or truncated if the copy operation encounters no bad rows).

UNIX: COPY opens the log file prior to the start of data transfer. If it cannot open the log file, copy halts. If an error occurs when writing to the log file, copy issues a warning, but continues. If the specified log file already exists, it is overwritten with the new values (or truncated if the copy operation encounters no bad rows).

VMS: COPY attempts to open the log file prior to the start of data transfer. If it cannot open the log file, copy halts. If an error occurs when writing to the log file, copy issues a warning, but continues. If the log file already exists, copy creates a new version.

If copying from a data file that contains duplicate rows (or rows that duplicate rows already in the table) to a table that has a unique key, copy displays a warning message and does not add the duplicate rows. If the WITH LOG option is specified, COPY does not write the duplicate rows to the log file.

Previous Topic

Next Topic


© 2007 Ingres Corporation. All rights reserved.