I would like to export a table from Firebird database into a CSV file. With MySQL, I can use an SQL with additional commands like INTO OUTFILE. Here is an example:
SELECT a,b,a+b INTO OUTFILE '/tmp/result.csv'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'
FROM test_table;
This query can be submitted on several sql-query-tools (MySQL WB, HeidiSQL, ccenter).
Is it possible using, for example FlameRobin, to submit an SQL statement like above to export data from Firebird?
I may use FlameRobin using the menu or another tool like FBexport, but I prefer the one-code solution without clicking on the menu or using additional tools (FBexport).
Firebird does not support that directly. You’ll have to use some tool (either GUI or CLI) to do it.