首次登录 ACT 时,您会看到一个欢迎屏幕:
Welcome to act 06.00.00.02, the Aster nCluster Terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with act commands
\g or terminate with semicolon to execute query
\q to quit
您可以使用为您的功能\h COPY查找文档。COPY像这样:
Command: COPY
Description: copy data between a file and a table
Syntax:
COPY tablename [ ( column [, ...] ) ]
FROM STDIN
[ [ WITH ]
[ DELIMITER [ AS ] 'delimiter' ]
[ NULL [ AS ] 'null string' ]
[ CSV [ QUOTE [ AS ] 'quote' ]
[ ESCAPE [ AS ] 'escape' ] ] ]
[ LOG ERRORS
[ [ INTO errortablename ] [ WITH LABEL [ AS ] 'label' ] | NOWHERE ]
[ ERRORLIMIT [ AS ] limit ]
]
COPY tablename [ ( column [, ...] ) ]
TO STDOUT
[ [ WITH ]
[ DELIMITER [ AS ] 'delimiter' ]
[ NULL [ AS ] 'null string' ]
[ CSV [ QUOTE [ AS ] 'quote' ]
[ ESCAPE [ AS ] 'escape' ] ] ]
这里没有使用标题复制的选项。因此,我认为您可能必须在复制后重新添加标题。