copy to 命令示例

在下面的示例中,打开 customer 表并且复制三个连续的记录到名为 temp.txt 的新建分隔格式的数据文件中。

close databases
open database (home( ) + 'samples\data\testdata')
use customer && 打开 customer 表

copy next 3 to temp type delimited
wait window 'this is the delimited text file' nowait
modify file temp.txt
delete file temp.txt