This command moves data between Aster Database tables and a remote client (from and to a file) via the connection between the client and the server.
This is an example:
public void copyCommandExamples() { String stmt1 = "COPY simba TO 'd:\\simba.txt' DELIMITER as ','"; String stmt2 = "COPY simba TO 'd:\\simba.csv' with csv QUOTE AS '@';"; try { Statement s = conn_.createStatement(); s.execute(stmt1); s.execute(stmt2); s.close(); } catch (Exception e) { e.printStackTrace(); fail(e.getMessage()); } }