The COPY directive copies values from a source column into a destination column.
Syntax
Code Block |
---|
copy :source :destination [force (true/false)] |
...
Code Block |
---|
copy col_a col_b true |
Usage Notes
The COPY directive will copy data from :source
if and only if :source
column exists. If the :source
doesn't exist in the record, the execution will fail with an error.
Copying makes a deep copy of the source into the destination. The type of data from the source in the destination column is maintained as-is.
Example
Using this record as an example:
...