21 #include "eckit/sql/SQLOutputConfig.h"
29 class SQLOutputConfig;
35 namespace sql {
class SQLOutputConfig; }
49 static void help(std::ostream &o) { o <<
"Executes SQL statement"; }
50 static void usage(
const std::string&
name, std::ostream &o)
52 o <<
name <<
" <select-statement> | <script-filename>" << std::endl;
53 o <<
" [-T] Disables printing of column names" << std::endl;
54 o <<
" [-offset <offset>] Start processing file at a given offset" << std::endl;
55 o <<
" [-length <length>] Process only given bytes of data" << std::endl;
56 o <<
" [-N] Do not write NULLs, but proper missing data values" << std::endl;
57 o <<
" [-i <inputfile>] ODB input file" << std::endl;
58 o <<
" [-o <outputfile>] ODB output file" << std::endl;
59 o <<
" [-f default|wide|odb] ODB output format (default is ascii; odb is binary ODB, wide is ascii with"
60 <<
" bitfields definitions in header)" << std::endl;
61 o <<
" [-delimiter <delim>] Changes the default values' delimiter (TAB by default)" << std::endl;
62 o <<
" delim can be any character or string" << std::endl;
63 o <<
" [--binary|--bin] Print bitfields in binary notation" << std::endl;
65 o <<
" [--no_alignment] Do not align columns" << std::endl;
66 o <<
" [--full_precision] Print with full precision" << std::endl;