deu(1)

NAME
deu - Zen Data Export Utility

SYNOPSIS
deu DatabaseName SelectFile ResultsFile

[-c] [-h] [-o] [-e FileEncoding]

[-f FieldDelim] [-l LogFile] [-n PortNumber]

[-s ServerName] [-u LoginId -p Password]

DESCRIPTION
deu is used to export data by running a SQL statement from a command file.

OPTIONS

DatabaseName
    This may be a database name or a server DSN.

SelectFile
    File containing the SQL SELECT command to execute.

ResultsFile
    Contains the resulting dataset from executing SelectFile.

-c  Write column names in first row.

-h  This help screen.

-o  Overwrite ResultsFile if it exists.

-e FileEncoding
    e.g. Windows-1252, Big5, EUC_JP, Shift_JIS, SJIS, UTF-8, UTF-8-BOM, UTF-16BE, UTF-16BE-BOM, UTF-16LE, UTF-16LE-BOM (default windows-1252).

-f FieldDelim
    Field delimiter character (default ,)

-l LogFile
    Log output to file (default stdout).

-n PortNumber
    TCP port where SQL engine is listening (default 1583).

-s ServerName
    Server where database is defined (default local machine).

-u LoginId
    Login ID of the database user.

-p Password
    Password of the database user.

EXAMPLE
deu DEMODATA select.sql datafile.dat -c -l log.txt

SEE ALSO
SQL Engine Reference for more information about supported SQL syntax.