Loading...
https://bestodionlinetraining.blogspot.com/2015/07/example-of-odisqlunload.html
ODISQLUNLOAD syntax:
OdiSqlUnload -FILE=<file_name> -DRIVER=<driver>
-URL=<url> -USER=<user> -PASS=<password>
[-FILE_FORMAT=<file_format>] [-FIELD_SEP=<field_sep> |
-XFIELD_SEP=<field_sep>] [-ROW_SEP=<row_sep> |
-XROW_SEP=<row_sep>] [-DATE_FORMAT=<date_format>]
[-ABS=<yes|no>] [-CHARSET_ENCODING=<encoding>] [-XML_CHARSET_ENCODING=<encoding>] [-FETCH_SIZE=<array_fetch_size>] [CR/LF
<sql_query> | -QUERY=<sql_query> |
-QUERY_FILE=<sql_query_file> ]
Example:
Create one procedure and below code in command on target
and select Source technology and logical schema on
command on source.
OdiSqlUnload "-FILE=C:\temp\sessions.csv"
"-DRIVER=<%=odiRef.getInfo( "SRC_JAVA_DRIVER" )%>"
"-URL=<%=odiRef.getInfo( "SRC_JAVA_URL" )%>"
"-USER=<%=odiRef.getInfo( "SRC_USER_NAME" )%>"
"-PASS=<%=odiRef.getInfo( "SRC_ENCODED_PASS" )%>" "-FILE_FORMAT=VARIABLE"
"-FIELD_SEP=," "-ROW_SEP=\r\n"
"-DATE_FORMAT=yyyy/MM/dd HH:mm:ss"
"-CHARSET_ENCODING=ISO8859_1" "-XML_CHARSET_ENCODING=UTF-8"
"-FETCH_SIZE=5000" "-QUERY=Select sess_name,sess_beg,sess_status
from dev1_odi_repo.snp_session"
VirtualNuggets
1357442803507213959
Post a Comment
Home
item
Popular Posts
-
The Oracle Data Integrator architecture is organized around a modular repository, which is accessed in client-server mode by components su...
-
OiiolLogger.addFileHandler:Error while adding file handler - C:\Program Files\Oracle\Inventory/logs\OPatch2015-06-18_12-24-59-PM.logjava.io...
-
Note: Before doing this activity Pls take a backup of init.ora.5132015144713 and listener.ora files. C:\Users\VN>lsnrctl start ...
-
Journalizing Knowledg Modules In addition to the methods from in the "Global Methods" list, the following methods can...
-
If you receive a error message saying “this operating system is not supported” follow below operations. Since Windows 7 is r...
-
RKM Oracle Reverse-engineers tables, views, columns, primary keys, non unique indexes and foreign keys. JKM Oracle 10g Co...
-
Oracle Data Integrator(ODI) is a comprehensive data integration platform that covers all data integration requirements: from high-volume, ...
-
ODISQLUNLOAD syntax: OdiSqlUnload -FILE=<file_name> -DRIVER=<driver> -URL=<url> -USER=<user> -PASS...