简体   繁体   中英

SQL Workbench WbExport to two locations for Redshift

Is it possible to export to two locations using WbExport for Redshift. Or is there an alternative method without having to change the file path.

WbExport -file = 'file_path1'
-type=text
-delimiter=,
-header=true;

No, this is not possible with SQL Workbench/J

You need to run two WbExport commands with different file names.

An alternative is to run it once, then use WbSysExec to copy the generated file to the second location

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM