(since EVL 2.2)
Write stdin or
<table> in Oracle database. If the table is not empty, it
is truncated unless ‘--append’ option is used. When delete statement need to be used instead
of truncate, use option ‘--delete’.
is to be used in EVS job structure definition file.
<f_in>is either input file or flow name.
- evl writeora
is intended for standalone usage, i.e. to be invoked from command line and reading records from standard input.
EVD and EVS are EVL definition files, for details see evl-evd(5) and evl-evs(5).
Important: Option ‘sep’ must be omitted in EVD file as table it written by ‘$EVL_ORACLE_FIELD_SEPARATOR’, which is by default ‘\x07’, and last field in each record is separated by ‘\n’.
Writeora <f_in> [<schema>.]<table> <evd> [-x|--text-input] [-a|--append | --delete] [-u|--username=<user>] [-p|--password=<password>] [--connect=<connect_identifier>] [--reject<n>=<f_out>] [--control=<ctl_file>] evl writeora [<schema>.]<table> <evd> [-x|--text-input] [-a|--append | --delete] [-u|--username=<user>] [-p|--password=<password>] [--connect=<connect_identifier>] [--reject<n>=<f_out>] [--control=<ctl_file>] [--verbose] evl writeora ( --help | --usage | --version )
- -a, --append
with this option data will be added to the table, otherwise overwrite it
with this option data will be deleted, not truncated
when reject() function is used in the mapping, input record is rejected into <f_out>
- -x, --text-input
suppose the input as text, not binary
print this help and exit
print short usage information and exit
- -v, --verbose
print to stderr info/debug messages of the component
print version and exit
sqlldr will be called in the form:
where <connect_identifier> can be in the form:
[<net_service_name> | [//]Host[:Port]/<service_name>]
without this option environment variable ‘ORACONN’ (if defined) is used as connection identifier for sqlldr
- -p, --password=<password>
without this option environment variable ‘ORAPASS’ is used as password for sqlldr
- -u, --username=<user>
without this option environment variable ‘ORAUSER’ is used as user for sqlldr