DBLink Oracle - PostgreSQL
Hello,
any ideas on this type of error?
ERROR at line 1:
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oradb3)(
PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=UMAPLINK)))
ORA-02063: preceding line from UMAPLINK
Process ID: 870
Session ID: 272 Serial number: 27677
is there any thing else you like me to add?
sorry again it took some time to response
here is the current situation
when I do
SQL> select * from [email protected];
select * from [email protected]
ERROR at line 1:
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oradb3)(
PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=UMAPLINK)))
ORA-02063: preceding line from UMAPLINK
Process ID: 31918
Session ID: 93 Serial number: 83
here is the trace file
Oracle Corporation --- FRIDAY JAN 27 2012 09:16:34.880
Heterogeneous Agent Release
11.2.0.2.0
Oracle Corporation --- FRIDAY JAN 27 2012 09:16:34.848
Version 11.2.0.2.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "UMAPLINK"
Product-Info:
Port Rls/Upd:2/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.2.0_0008, Instance:UMAPLINK
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=873
HS_LANGUAGE not specified
LANG=en_US.UTF-8
HOCXU_SEM_VER=112000
Entered hgolofn at 2012/01/27-09:16:35
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/libodbc.so"
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xef0083c0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xef008450
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xef008c10
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xef009e80
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xef0118f0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xef011d90
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xef014590
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xef015a40
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xef016240
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xef017c60
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xef017c80
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xef019380
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xef01c520
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xef01c8c0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xef01e360
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xef01efb0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xef01f2b0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xef0210e0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xef0214b0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xef022ff0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xef022e40
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLColAttribute
symbol_peflctx=0xef00a4a0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLColumns
symbol_peflctx=0xef00bc40
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLConnect
symbol_peflctx=0xef00f550
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLDescribeCol
symbol_peflctx=0xef0111b0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLDriverConnect
symbol_peflctx=0xef012920
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLExecDirect
symbol_peflctx=0xef0154d0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLForeignKeys
symbol_peflctx=0xef016b60
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetConnectAttr
symbol_peflctx=0xef017fd0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetDescField
symbol_peflctx=0xef0199e0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetDescRec
symbol_peflctx=0xef019ea0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagField
symbol_peflctx=0xef01b080
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetDiagRec
symbol_peflctx=0xef01bcc0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetInfo
symbol_peflctx=0xef01cb00
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetStmtAttr
symbol_peflctx=0xef01d500
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLGetTypeInfo
symbol_peflctx=0xef01dfc0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLPrepare
symbol_peflctx=0xef01f9e0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLPrimaryKeys
symbol_peflctx=0xef01fef0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLProcedureColumns
symbol_peflctx=0xef0204a0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLProcedures
symbol_peflctx=0xef020b30
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLSetConnectAttr
symbol_peflctx=0xef0217a0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLSetStmtAttr
symbol_peflctx=0xef024350
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLSetDescField
symbol_peflctx=0xef022b60
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLStatistics
symbol_peflctx=0xef0258f0
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Entered hgolofns at 2012/01/27-09:16:35
libname=/usr/lib64/libodbc.so, funcname=SQLTables
symbol_peflctx=0xef026580
hoaerr:0
Exiting hgolofns at 2012/01/27-09:16:35
Exiting hgolofn, rc=0 at 2012/01/27-09:16:35
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2012/01/27-09:16:35
hostmstr: 0: HOA After hoainit
hostmstr: 0: HOA Before hoalgon
Entered hgolgon at 2012/01/27-09:16:35
reco:0, name:content_ro_user, tflag:0
Entered hgosuec at 2012/01/27-09:16:35
Exiting hgosuec, rc=0 at 2012/01/27-09:16:35
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using content_ro_user as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2012/01/27-09:16:35
HS_FDS_CONNECT_INFO = "UMAPLINK"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2012/01/27-09:16:35
dsn:UMAPLINK, name:content_ro_user
optn:
Entered hgocip at 2012/01/27-09:16:35
dsn:UMAPLINK
Exiting hgocip, rc=0 at 2012/01/27-09:16:35
##>Connect Parameters (len=47)<##
## DSN=UMAPLINK;
#! UID=content_ro_user;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2012/01/27-09:16:35
Entered hgopoer at 2012/01/27-09:16:35
hgopoer, line 231: got native error 0 and sqlstate 01000; message follows...
[unixODBC][Driver Manager]Driver does not support the requested version {01000}
Exiting hgopoer, rc=0 at 2012/01/27-09:16:35
hgocont, line 2687: calling SqlDriverConnect got sqlstate 01000
Entered hgolosf at 2012/01/27-09:16:35
ODBC Function-Available-Array 0xFFFE 0x00FF 0xFF00 0xFA7F 0x03B2 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0000 0x0000 0xA400 0x114C
Exiting hgolosf, rc=0 at 2012/01/27-09:16:35
DriverName:libpsqlodbc.so, DriverVer:07.01.0003
DBMS Name:PostgreSQL, DBMS Version:07.01.0003 PostgreSQL 9.1.2 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6), 64-bit
Exiting hgocont, rc=0 at 2012/01/27-09:16:35 with error ptr FILE:hgocont.c LINE:2687 FUNCTION:hgocont() ID:SQLDriverConnect
Entered hgopoer at 2012/01/27-09:16:35
hgopoer, line 231: got native error 209 and sqlstate HYC00; message follows...
[unixODBC]Unrecognized key passed to SQLGetInfo. {HYC00,NativeErr = 209}
Exiting hgopoer, rc=0 at 2012/01/27-09:16:35
hgolgon, line 804: calling SQLGetInfo got sqlstate HYC00
SQLGetInfo returns N for SQL_CATALOG_NAME
Exiting hgolgon, rc=0 at 2012/01/27-09:16:35 with error ptr FILE:hgolgon.c LINE:804 FUNCTION:hgolgon() ID:GetInfo: Support catalogs
hostmstr: 0: HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Upload Caps
hostmstr: 0: HOA Before hoaulcp
Entered hgoulcp at 2012/01/27-09:16:35
Entered hgowlst at 2012/01/27-09:16:35
Exiting hgowlst, rc=0 at 2012/01/27-09:16:35
SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
TXN Capable:2, Isolation Option:0x2
SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 32 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 0 for SQL_MAX_PROCEDURE_NAME_LEN
SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns N for SQL_COLUMN_ALIAS
4 instance capabilities will be uploaded
capno:1964, context:0x00000000, add-info: 0
capno:1989, context:0x00000000, add-info: 0
capno:1991, context:0x00000000, add-info: 0
capno:1992, context:0x0001ffff, add-info: 0
Exiting hgoulcp, rc=0 at 2012/01/27-09:16:35
hostmstr: 0: HOA After hoaulcp
hostmstr: 0: RPC After Upload Caps
hostmstr: 0: RPC Before Upload DDTR
hostmstr: 0: HOA Before hoauldt
Entered hgouldt at 2012/01/27-09:16:35
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2012/01/27-09:16:35
hostmstr: 0: HOA After hoauldt
hostmstr: 0: RPC After Upload DDTR
hostmstr: 0: RPC Before Begin Trans
hostmstr: 0: HOA Before hoabegn
Entered hgobegn at 2012/01/27-09:16:35
tflag:0 , initial:1
hoi:0x9c9098a8, ttid (len 39) is ...
00: 55494343 44422E46 494E4445 58412E4E [UICCDB.COM.N]
10: 45542E35 33656336 6562392E 31312E32 [ET.53ec6eb9.11.2]
20: 342E3132 343832 [4.12482]
tbid (len 36) is ...
00: 55494343 44422E46 494E4445 58412E4E [UICCDB.COM.N]
10: 45545B31 312E3234 2E313234 38325D5B [ET[11.24.12482][]
20: 312E345D [1.4]]
Exiting hgobegn, rc=0 at 2012/01/27-09:16:35
hostmstr: 0: HOA After hoabegn
hostmstr: 0: RPC After Begin Trans
hostmstr: 0: RPC Before Describe Table
hostmstr: 0: HOA Before hoadtab
Entered hgodtab at 2012/01/27-09:16:35
count:1
table: COMPAZ_CONTENT_VW
Allocate hoada[0] @ 0x143d290
Free hoada[0] @ 0x143d290
SQL text from hgodtab, id=0, len=33 ...
00: 73656C65 6374202A 2066726F 6D202243 [select * from "C]
10: 4F4D5041 5A5F434F 4E54454E 545F5657 [OMPAZ_CONTENT_VW]
20: 22 ["]
Entered hgodscr_process_sellist_description at 2012/01/27-09:16:35
Similar Messages
-
Encoding conversion issue on dblink (Oracle - Postgresql)
I have sucessfully setup a dblink from Oracle to Postgresql.
The Postgresql database use UTF-8 encoding for all its data.
When I try this request SELECT * FROM "table"@Postgres , I receive this error :
ORA-00942: Table ou vue inexistante
[Generic Connectivity Using ODBC]DRV_DescribeTable: DB_ODBC_RECORD (1093): ; ERREUR: le caractère 0xc5a1 du codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
ORA-02063: précédant 2 lines de RECORD
00942. 00000 - "table or view does not exist"
*Cause:
*Action:
Erreur à la ligne 2, colonne 5How can I get rid off of this error ?Do you get the same problem for all tables or if you run the select as -The problem is raised only on some tables not all.
select * from "owner"."tablename"@hsodbc ;On a failing select, adding the "owner" doesn't solve the problem.
Are there any error sin the trace file and if so could you post them here ?I perform this query : select * from "owner"."table"@POSTGRE
Here are the traces :
Oracle Corporation --- MONDAY FEB 27 2012 16:21:54.959
Version 10.2.0.1.0
hoagprd (2): ; hoagprd Entered.
HOACONN.C (244): ; [Generic Connectivity Using ODBC] version: 4.6.2.0.0070
HOACONN.C (295): ; Class version: 200
hoagprd (2): ; hoagprd Exited with retcode = 0.
hoainit (3): ; hoainit Entered.
(0): ; connect string is: defTdpName=Postgre;SYNTAX=(ORACLE8_HOA,
BASED_ON=ORACLE8, IDENTIFIER_QUOTE_CHAR="",
CASE_SENSITIVE=CASE_SENSITIVE_QUOTE);BINDING=<navobj><binding><datasources><da-
tasource name='Postgre' type='GENERIC_ODBC_FOR_HS'
connect='Postgre'><driverProperties/></datasource></datasources><remoteMachines-
/><environment><optimizer noFlattener='true'/><misc year2000Policy='-1'
consumerApi='1' sessionBehavior='4'/><queryProcessor parserDepth='2000'
tokenSize='1000' noInsertParameterization='true'
noThreadedReadAhead='true'
noCommandReuse='true'/><debug
generalTrace='true'/></environment></binding></navobj>
ORACLE GENERIC GATEWAY Log File Started at 2012-02-27T16:21:54
hoainit (3): ; hoainit Exited with retcode = 0.
hoalgon (7): ; hoalgon Entered. name = rec_lct.
Created new ODBC connection (136751296)
hoalgon (7): ; hoalgon Exited with retcode = 0.
hoaulcp (4): ; hoaulcp Entered.
hoaulcp (4): ; hoaulcp Exited with retcode = 0.
hoauldt (5): ; hoauldt Entered.
hoauldt (5): ; hoauldt Exited with retcode = 0.
hoabegn (9): ; hoabegn Entered. formatID = 306206, hoagttln = 29, hoagttid =
PDELTAA.286b8407.4.69.1747760, hoagtbln = 10, hoagtbid = ^D, tflag = 0, initial
= 1
hoabegn (9): ; hoabegn Exited with retcode = 0.
hoadtab (26): ; hoadtab Entered. count = 1
hoadtab (26): ; schema_name = owner, table_name = table
odbc_owner: select * from "owner"."table"
DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du codage « UTF8 » n'a
pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du
codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
Code: 1)
nvRETURN (drv_priv.c 948): -2202
hoadtab (26): ; hoadtab Exited with retcode = 0.
hoapars (15): ; hoapars Entered. stmtType = 0, id = 1.
nvOUT (qp_sqtxt.c 55): SELECT * FROM "owner"."table"
nvRETURN (qpsynon.c 1140): -1
odbc_owner: select * from "owner"."table"
DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du codage « UTF8 » n'a
pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du
codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
Code: 1)
nvRETURN (drv_priv.c 948): -2202
[A00D] Failed to open table Postgre:owner.table
nvRETURN (qpbldbtn.c 502): -2202
nvRETURN (qpbldbtn.c 382): -2202
nvRETURN (qp_seman.c 3153): -2202
nvRETURN (qp_yacc.c 1930): -2202
nvRETURN (qp_compl.c 515): -2202
nvRETURN (qp_compl.c 232): -2202
nvRETURN (qp_compl.c 200): -2202
hoapars (15): ; hoapars Exited with retcode = 942.
hoadtab (26): ; hoadtab Entered. count = 1
hoadtab (26): ; schema_name = owner, table_name = table
odbc_owner: select * from "owner"."table"
DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du codage « UTF8 » n'a
pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du
codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
Code: 1)
nvRETURN (drv_priv.c 948): -2202
hoadtab (26): ; hoadtab Exited with retcode = 0.
hoapars (15): ; hoapars Entered. stmtType = 0, id = 1.
nvOUT (qp_sqtxt.c 55): SELECT * FROM "owner"."table"
odbc_rec: select * from "owner"."table"
DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du codage « UTF8 » n'a
pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL Code: 1)
DRV_DescribeTable: DB_ODBC_POSTGRE (1093): ; ERREUR: le caractère 0xc5a1 du
codage « UTF8 » n'a pas d'équivalent dans « LATIN1 » (SQL State: HY000; SQL
Code: 1)
nvRETURN (drv_priv.c 948): -2202
[A00D] Failed to open table Postgre:owner.table
nvRETURN (qpbldbtn.c 502): -2202
nvRETURN (qpbldbtn.c 382): -2202
nvRETURN (qp_seman.c 3153): -2202
nvRETURN (qp_yacc.c 1930): -2202
nvRETURN (qp_compl.c 515): -2202
nvRETURN (qp_compl.c 232): -2202
nvRETURN (qp_compl.c 200): -2202
hoapars (15): ; hoapars Exited with retcode = 942. -
Create a dblink oracle to postgres with dg4odbc
Hi,
I'm trying to create a dblink from a database Oracle (10.2.0.3) to PostgreSQL database (8.3.11) with DG4ODBC (11.2.0.1.0).
I've installed the postgres driver 64 bit :
file /usr/lib64/psqlodbc.so
/usr/lib64/psqlodbc.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), strippedI'm configuring the /oracle/.odbc.ini :
[record]
Driver=/usr/lib64/psqlodbc.so
Description = PostgreSQL ODBC
Servername = cdxlan035
Port = 5435
Username = rec_lct
Password = rec_lct
Database = REC_TESTI'm configuring the /oracle/product/DG4ODBC/hs/admin/initrecord.ora like this :
# HS init parameters
HS_FDS_CONNECT_INFO = record
HS_FDS_TRACE_LEVEL = 4
HS_FDS_TRACE_FILE_NAME = /oracle/product/DG4ODBC/hs/log/hsodbc.trc
HS_FDS_SHAREABLE_NAME = /usr/lib64/psqlodbc.so
# ODBC specific environment variables
set ODBCINI=/oracle/.odbc.iniI'm configuring the /oracle/product/DG4ODBC/network/admin/listener.ora
LISTENER_HS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = cdxlan036.douane)(PORT = 1525))
ADR_BASE_LISTENER_HS = /oracle/product/DG4ODBC
SID_LIST_LISTENER_HS =
(SID_LIST =
(SID_DESC =
(PROGRAM = dg4odbc)
(ORACLE_HOME = /oracle/product/DG4ODBC)
(SID_NAME = record)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:/oracle/product/DG4ODBC/lib:/oracle/product/10.2.0/lib)
)I'm updating my /oracle/product/10.2.0/network/admin/tnsnames.ora :
RECORD2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = cdxlan036)(PORT = 1525))
(CONNECT_DATA =
(SID = record)
(HS=OK)
)In last i'm creating the dblink :
CREATE DATABASE LINK "RECORD" CONNECT TO "rec_lct" IDENTIFIED BY "rec_lct" USING 'RECORD2';When i'm trying to select my postgres database, that doesn't work. Here the /oracle/product/DG4ODBC/hs/log/record.log :
[oracle@cdxlan036 log]$ cat record_agt_30445.trc
Oracle Corporation --- MONDAY FEB 27 2012 17:11:31.204
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- MONDAY FEB 27 2012 17:11:31.204
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "4"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "record"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:record
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=31
HOCXU_SEM_VER=102000
Entered hgolofn at 2012/02/27-17:11:31
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/lib64/psqlodbc.so"
Entered hgolofns at 2012/02/27-17:11:31
libname=/usr/lib64/psqlodbc.so, funcname=SQLAllocHandle
peflerr=6521, libname=/usr/lib64/psqlodbc.so, funcname=SQLAllocHandle
hoaerr:28500
Exiting hgolofns at 2012/02/27-17:11:31
Failed to load ODBC library symbol: /usr/lib64/psqlodbc.so(SQLAllocHandle)
Exiting hgolofn, rc=28500 at 2012/02/27-17:11:31
Exiting hgoinit, rc=28500 with error ptr FILE:hgoinit.c LINE:337 FUNCTION:hgoinit() ID:Loading ODBC aray of function ptrs
Entered hgoexit
HS Gateway: NULL connection context at exit
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection contextWhat's wrong with my configuration?
thanks for your help
regards,
MathieuHS_FDS_SHAREABLE_NAME needs to point to the ODBC driver manager. Commonly the ODBC driver manager is a separate library (common name is libodbc.so). It can be downloaded for example from unixodbc.org. Only a few rare ODBC drivers (some ODBC drivers from MySQL and also some IBM DB2 drivers have a built in ODBC driver manager into the ODBC driver itself, all other require a stand alone ODBC driver manager).
Background info:
In general the ODBC set up consists of 2 parts, an ODBC driver manager and an ODBC driver itself. The ODBC driver manager is providing generic ODBC functions and it is also responsible to load the driver specified in the odbc.ini file. The ODBC driver itself is then dedicated for a foreign database and provides specific foreign database functions. -
Insert / update data to a table through DBLINK (oracle)
I try to insert / update a table from one instance of oracle database to another one through oracle dblink, get following error:
java.sql.SQLException: ORA-01008: not all variables bound
ORA-02063: preceding line from MYLINK
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:609)
The same code to insert / update the exact same table in local instance works fine.No any binding problem. So i am pretty sure all ? mark in SQL are set with some value before sending to Oracle.
Someone please advise what is possible problem. Db link is not set correctly? or we can not update remote table by dblink.
By the way i can do insert / update from TOAD to the remote table through DBLINK. Problem happens only in Java code.
thanks!
Garydblink links from one database instance to another.
So it is certainly a source of possible problems when it works on one database and not another.
You should start by looking at the dblink and it possible testing it in the database not via java.
Note as well that that error suggests that it is coming from the Oracle database. I believe if you had a bind parameter problem in your java code that the error would come from the driver. But that is a guess on my part. -
Hi, i'm trying to create database link from a database Oracle 11g to PostgreSQL with DG4ODBC, and unixODBC
my configured to /etc/odbc.ini
[PostgreSQL]
Description = Test to Postgres
Driver = psqlodbc
Trace = Yes
TraceFile = /tmp/sql.log
Database = danieldb
Servername =
UserName = SA
Password = password
Port = 5432
Protocol = 6.4
ReadOnly = No
RowVersioning = No
ShowSystemTables = No
ShowOidColumn = No
FakeOidIndex = No
my configured to /etc/odbcinst.ini
[ODBC]
CommLog=1
Debug=1
FileUsage=1
Pooling=No
Trace=1
[psqlodbc]
Description=PostgreSQL ODBC driver
Driver=/usr/lib64/psqlodbcw.so
CommLog=1
Debug=0
FileUsage=1
my configured to /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora
HS_FDS_CONNECT_INFO = PostgreSQL
HS_FDS_TRACE_LEVEL = 0
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so
set ODBCINI=/etc/odbc.ini
my configured to /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
Listener =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC=
(SID_NAME=PostgreSQL)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)
(PROGRAM=dg4odbc)
(ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib")
my configured to /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora
PostgreSQL=
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521))
(CONNECT_DATA =
(SID = PostgreSQL)
(HS = OK)
i'm try to created public database link :
CREATE PUBLIC DATABASE LINK "orapos" CONNECT TO "SA" IDENTIFIED BY "password" USING 'PostgreSQL';
when i used tnsping
[root@oracle-poc admin]# tnsping PostgreSQL
TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 16-MAY-2013 20:34:19
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/xe/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))
OK (0 msec)
and last i try to use the database link :
SQL> select * from "tabel2"@orapos
2 ;
select * from "tabel2"@orapos
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from ORAPOS
Whats wrong with my configuration??
Thank you and best regards,
DanielMike,
yes i've downloaded the ODBC driver manager..
for HS_FDS_SHAREABLE_NAME i use /usr/lib/psqlodbc.so
and i get this error when i call the db link(orpos)
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
ORA-02063: preceding line from ORAPOS
for HS_FDS_SHAREABLE_NAME = /usr/lib64/psqlodbcw.so
and i get this error when i call the db link(orpos)
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
c
and when i used isql isql to call DNS(PostgreSQL) is success
whats wrong with my config?
about PostGres ODBC did you mean postgresql-odbc-08.04.0200-1.el6.x86_64 ??
Thank you and best regards,
Daniel -
I have been asked to look at linking an 11gR2-on-64bit-Linux database to a PostgreSQL 8.4 database (also running on 64-bit Linux), and vice versa. I really don't have much clue where to start, and Google hasn't been of much help.
Am I right in thinking that the "Oracle Database Gateways 11g Release 2 (11.2.0.1.0) for Linux x86-64" is my starting point for making Oracle 'talk to' PostgreSQL? If so, can anyone point me to the relevant doco. I couldn't even find that!
And will the Gateway let the PostgreSQL database select from the Oracle database? Or do I need to do something else to enable that?
Sorry for the clueless-ness. I don't have much idea where to start on this. Any pointers appreciated.Thanks Aman.
I do find sometimes that it's like trying to get blood out of a stone on these forums! So it's nice when someone like you takes the trouble to reply meaningfully.
For example, it turns out that the only way Oracle can connect to PostgreSQL is using the Generic ODBC connectivity -which is installed with 11gR2 by default and therefore requires no additional downloads from OTN and no additional installs. It would have been nice if someone -anyone!- could have posted that as a simple bit of guidance before I got bogged down in this!
I am very grateful you took the time to find the basic Gateway documentation, however. It turns out, as you say, that it's not actually very useful documentation in these circumstances, but I very much appreciate the link nevertheless, and yes it is helpful in one crucial respect: it does at least contain the one sentence that gave the game away about generic ODBC being the only option for various non-commercial databases!
I discovered that generic ODBC connectivity was already installed after having downloaded the Gateway software (all 600MB+ of it!). When I ran the installer, it offered to "reinstall" that particular driver, which was the clue I needed that no download or extra installation of anything was actually required!
And, in the meantime, I was able to discover this "howto" guide:http://oracleonlinux.wordpress.com/2010/02/04/configuring-oracle-gateway-10-2-for-odbc-for-postgresql/ -which is nearly what I was originally after, though it's for the wrong version of the database and doesn't deal with the fact that hsodbc is 32-bit only, and that the program to use in 11g on 64-bits is dg4odbc instead. But at least it got me started!
Right now, I can use unixODBC's isql program to connect to the remote PostgreSQL database from the Oracle server without a problem. And I've configured my listener to handle dg4odbc calls. And my tnsnames.ora is configured to call out to the PostgreSQL database, so I can tnsping it OK. But... I still can't select from any remote tables! In my log files, I get the error: "Failed to load ODBC library symbol: /usr/lib64/libodbcpsql.so(SQLAllocHandle)", which I believe means that there are 32-bit/64-bit issues. I have yet to resolve those, and it's been the best part of 3 hours' typing and Googling to get even to that stage, so I don't have much hope of it being sorted this side of the weekend!
I am surprised this sort of thing is not documented better (and more up-to-date: 11g has been out for quite a few years now, and hsodbc has been superceded by dg4odbc for as long, after all). There are lots of quality sites out there (Tim Hall's, Orafaq, Eddie Awad and so on and so on) that offer great how-tos and step-by-step walkthroughs for all sorts of interesting database configuration topics, but this sort of connectivity issue doesn't seem to attract the same quality -or quantity!- of attention, which is a shame, I think.
Anyway... thanks for your reply once again. I shall resume the struggle next week, I guess! -
Hi.
I made a dblink in an Oracle db to a MySQL db. This works ok. But when i want to query in a table with a lot of records (the biggest one has about 250 million records), it takes a long time to return something. Like hours. Or nothing at all.
When i do the same query in Access with a MySQL ODBC driver, it shows results in seconds. Also with another tool direct on the MySQL db.
How can i make it to perform?
Thankx.I made a dblink in an Oracle db to a MySQL db. This
works ok. But when i want to query in a table with aHow is that possible? My understanding is that a database link could only be to another oracle
database unless you used a transparent gateway. -
Projekt migrate Oracle - Postgresql.
hello all sorry my english not good.
Projekt hier in work - migrate 1 oracle db too postgres? Mybe no good question fore here?
Thank you.
Nóra>
Projekt hier in work - migrate 1 oracle db too postgres? I had to do a feasibility study for a project I was working on a while ago, so I have
looked into this.
Check out
http://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL
http://wiki.postgresql.org/wiki/PostgreSQL_for_Oracle_DBAs
http://wiki.postgresql.org/wiki/Oracle_to_Postgres_Conversion
I recommend this product
http://ora2pg.darold.net/
Forums are here
http://www.postgresql.org/support/
And check this out
http://it.toolbox.com/blogs/oracle-guide/worlds-largest-database-runs-on-postgres-24979
Mybe no good question fore here?No, it's a fair question - but you would be far* better off going to the PostgreSQL forums
and asking your questions there - one query (not SQL ;) ) of mine was answered by
one of the principal developers of the system - and I have to say that his response really
set the tone for the rest of my project - professional and friendly with a very good product.
You will have to assess on the basis of your own needs, but while PostgreSQL is
good, it's not quite an Oracle.
Paul...
Nóra -
Call a pkg of another data base via dblink
call a package from another database by dblink oracle
call a package from another database by dblink oracle , i got one pkg in DB A and i got dblink in DB 2 to DB A
now i wnt to call the pkg og DB A from DB 2
Thanks
RajHi Raj ,
1. Check you DB link is function properly.
select * from dual@dblink_name
2. Create a synoynm on DB2 like below;
Create synoynm synonym_pkg for pkg@db_link
3. Now you can access the pkg via synonynm
Cheers,
Kanchana -
SAP R/3 to Oralce Database Connetion
Hi Experts,
Is it possible to connect SAP R/3 to Directly Oracle Database of a Non-ERP System ( Without any middleware).
Requirement:
I need to write the data from SAP R/3 to a Oracle Database of a NON-SAP system.
I heard that we can do it through configuring DBCON table
Do we need to do any other configuration to update the data from SAP to Oracle DB other than DBCON?Hi,
Check this:
Re: Connecting and Updating External Database from SAP
and this:
http://www.saptechies.com/how-to-access-an-external-database-from-abap-via-dblink-oracle/
Points, appreciated. -
"java.sql.SQLException: The url cannot be null"
Hi,
I started to use the torque in my last project but when I try to insert new data to the db(i am using MySQL) I get the following error "java.sql.SQLException: The url cannot be null".
Is that error familiar to anybody ?
Regards
RCYHi,
Sorry for the lack of info.
1) This is my Torque.properties :
# T O R Q U E P R O P E R T I E S
#Torque has the ability to use multiple databases. This property
#specifies which database is to be used as the default
torque.database.default=rcy
# Torque has the ability to deal with multiple database systems.
# This property specifies the database adapter to use.
torque.database.rcy.adapter=mysql
#torque.database.jd.rcy=mysql
# The factory class that will be used to provide database connections.
torque.dsfactory.rcy.factory=org.apache.torque.dsfactory.SharedPoolDataSourceFactory
#torque.dsfactory.rcy.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
# The JDBC database driver to use when connecting to your database.
torque.dsfactory.rcy.connection.driver org.gjt.mm.mysql.Driver
# The URL that will be used to access your database. Torque's generated
# object model will perform all database operations using this URL.
# This value should reflect the database name specified in your database schema file
#torque.dsfactory.rcy.connection.url jdbc\:mysql\://localhost\:3306/rcy
torque.dsfactory.rcy.connection.url jdbc\:mysql\://127.0.0.1\:3306/rcy
#torque.dsfactory.rcy.connection.user user
#torque.dsfactory.rcy.connection.password password
torque.dsfactory.rcy.connection.user chen
torque.dsfactory.rcy.connection.password 1qazI created the db with torque and then copied the file(Torque.properties ) to my project.
2) This is my build.properties file :
# T O R Q U E C O N F I G U R A T I O N F I L E
# This file contains the most commonly used properties. For a
# a complete list of build properties, please refer to:
# http://jakarta.apache.org/turbine/torque/properties-reference.xml
# P R O J E C T
# This is the name of your Torque project. Your non-Java generated
# files will be named using the project name selected below. If your
# project=killerapp then you will have a generated:
# killerapp-schema.sql
# The custom is then to also rename your project XML schema from
# project-schema.xml to killerapp-schema.xml. This is required
# for a few targets such as datasql, datadump, and datadtd.
torque.project = rcy
# T A R G E T D A T A B A S E
# This is the target database, only considered when generating
# the SQL for your Torque project. Your possible choices are:
# axion, cloudscape, db2, db2400, hypersonic, interbase, mssql,
# mysql, oracle, postgresql, sapdb, sybase
torque.database = mysql
# O B J E C T M O D E L I N F O R M A T I O N
# These settings will allow you to customize the way your
# Peer-based object model is created.
# addGetByNameMethod
# If true, Torque adds methods to get database fields by name/position.
# addIntakeRetrievable
# If true, the data objects will implement Intake's Retrievable
# interface
# addSaveMethod
# If true, Torque adds tracking code to determine how to save objects.
# addTimeStamp
# If true, Torque true puts time stamps in generated om files.
# basePrefix
# A string to pre-pend to the file names of base data and peer objects.
# complexObjectModel
# If true, Torque generates data objects with collection support and
# methods to easily retreive foreign key relationships.
# targetPackage
# Sets the Java package the om files will generated to, e.g.
# "com.company.project.om".
# useClasspath
# If true, Torque will not look in the <code>templatePath</code> directory,
# for templates, but instead load them from the classpath, allowing you to
# use Torque without extracted it from the jar.
# useManagers
# If true, Torque will generate Manager classes that use JCS for caching.
# Still considered experimental.
torque.targetPackage = com.base
torque.addGetByNameMethod = true
torque.addIntakeRetrievable = false
torque.addSaveMethod = true
torque.addTimeStamp = true
torque.basePrefix = Base
torque.complexObjectModel = true
torque.useClasspath = false
torque.useManagers = false
# D A T A B A S E S E T T I N G S
# JDBC connection settings. This is used by the JDBCToXML task that
# will create an XML database schema from JDBC metadata. These
# settings are also used by the SQL Ant task to initialize your
# Torque system with the generated SQL.
# sameJavaName
# If true, the JDBC task will set the javaName attribute for the tables
# and columns to be the same as SQL name.
torque.database.createUrl = jdbc:mysql://127.0.0.1/mysql
torque.database.buildUrl = jdbc:mysql://127.0.0.1/rcy
torque.database.url = jdbc:mysql://127.0.0.1/rcy
torque.database.driver = org.gjt.mm.mysql.Driver
torque.database.user = chen
torque.database.password = 1qaz
torque.database.host = 127.0.0.1
torque.sameJavaName = falseI hope that will help you to help me :)
Thank's -
Hello,
i am facing problem with upgrade of master repository ODI 10.1.3.5.0 -> 10.1.3.6.1 odi_patch_10.1.3.6.1 (p9377717_101360_Generic)
i followed steps as described in upgrade procedure (Remove the content of the oracledi/lib/scripts/ sub-directory your Oracle Data Integrator installation directory.
Copy the content of the oracledi sub-directory of the temporary directory to your Oracle Data Integrator installation directory. The temporary directory content should overwrite the Oracle Data Integrator installation directory content.)
when running upgrade script (./mupgrade.sh) there is NO ORACLE Technologies appearing in the wizard....
only Hypersonic SQL and Informix left
same in Windows XP and Linux.....i just downloaded and unpacked odi_patch_10.1.3.6.1 (p9377717_101360_Generic.zip) from support.oracle.com
how can i check? there is the structure of the patch
bin
demo
doc
drivers
impexp
lib
tools
./bin:
startcmd.bat
./demo:
xml
./demo/xml:
personal.xsd
./doc:
index_km.htm
km
webhelp
./doc/km:
odiafm_93110_readme.pdf
odiap_93110_readme.pdf
odiess_readme.pdf
odiess_users.pdf
odigs_sapabapbw.pdf
odigs_sapabap.pdf
odi_km_ref_guide v1.3.pdf
./doc/webhelp:
en
./doc/webhelp/en:
index.hhc
index.hhk
printable
ref_tools
release_snps.htm
setup
usermanual
whgdata
whxdata
./doc/webhelp/en/printable:
snps_ref_tools.pdf
snps_setup.pdf
snps_users.pdf
./doc/webhelp/en/ref_tools:
odiftpget.htm
odiftpput.htm
odiscpget.htm
odiscpput.htm
odisftpget.htm
odisftpput.htm
snpsfiledelete.html
./doc/webhelp/en/setup:
setup.htm
sunopsis.log
./doc/webhelp/en/usermanual:
technos
./doc/webhelp/en/usermanual/technos:
how_to.htm
jms
jms_xml
./doc/webhelp/en/usermanual/technos/jms:
creating_a_jms_data_server.htm
creating_a_physical_schema_for_jms.htm
defining_a_jms_model.htm
choosing_the_right_kms_for_jms.htm
jms_standard_properties.htm
using_jms_properties.htm
./doc/webhelp/en/usermanual/technos/jms_xml:
creating_a_jms_xml_data_server.htm
creating_and_reverse-engineering_a_jms_xml_model.htm
creating_a_physical_schema_for_jms_xml.htm
choosing_the_right_kms_for_jms_xml.htm
./doc/webhelp/en/whgdata:
whlstfl0.htm
whlstfl11.htm
whlstfl16.htm
whlstfl18.htm
whlstfl20.htm
whlstfl21.htm
whlstfl22.htm
whlstfl23.htm
whlstfl24.htm
whlstfl25.htm
whlstfl26.htm
whlstfl3.htm
whlstfl4.htm
whlstfl7.htm
whlstfl8.htm
whlstf0.htm
whlstf1.htm
whlstf10.htm
whlstf11.htm
whlstf12.htm
whlstf13.htm
whlstf14.htm
whlstf15.htm
whlstf16.htm
whlstf17.htm
whlstf18.htm
whlstf19.htm
whlstf2.htm
whlstf20.htm
whlstf21.htm
whlstf22.htm
whlstf23.htm
whlstf24.htm
whlstf25.htm
whlstf26.htm
whlstf27.htm
whlstf28.htm
whlstf29.htm
whlstf3.htm
whlstf30.htm
whlstf31.htm
whlstf32.htm
whlstf33.htm
whlstf34.htm
whlstf35.htm
whlstf36.htm
whlstf37.htm
whlstf38.htm
whlstf39.htm
whlstf4.htm
whlstf40.htm
whlstf41.htm
whlstf42.htm
whlstf43.htm
whlstf44.htm
whlstf45.htm
whlstf46.htm
whlstf47.htm
whlstf48.htm
whlstf49.htm
whlstf5.htm
whlstf50.htm
whlstf51.htm
whlstf52.htm
whlstf53.htm
whlstf54.htm
whlstf55.htm
whlstf56.htm
whlstf57.htm
whlstf58.htm
whlstf59.htm
whlstf6.htm
whlstf60.htm
whlstf61.htm
whlstf62.htm
whlstf63.htm
whlstf64.htm
whlstf65.htm
whlstf66.htm
whlstf67.htm
whlstf68.htm
whlstf69.htm
whlstf7.htm
whlstf70.htm
whlstf71.htm
whlstf72.htm
whlstf8.htm
whlstf9.htm
whlsti0.htm
whlsti1.htm
whlsti2.htm
whlstt0.htm
whlstt1.htm
whlstt10.htm
whlstt100.htm
whlstt101.htm
whlstt102.htm
whlstt103.htm
whlstt104.htm
whlstt11.htm
whlstt12.htm
whlstt13.htm
whlstt14.htm
whlstt15.htm
whlstt16.htm
whlstt17.htm
whlstt18.htm
whlstt19.htm
whlstt2.htm
whlstt20.htm
whlstt21.htm
whlstt22.htm
whlstt23.htm
whlstt24.htm
whlstt25.htm
whlstt26.htm
whlstt27.htm
whlstt28.htm
whlstt29.htm
whlstt3.htm
whlstt30.htm
whlstt31.htm
whlstt32.htm
whlstt33.htm
whlstt34.htm
whlstt35.htm
whlstt36.htm
whlstt37.htm
whlstt38.htm
whlstt39.htm
whlstt4.htm
whlstt40.htm
whlstt41.htm
whlstt42.htm
whlstt43.htm
whlstt44.htm
whlstt45.htm
whlstt46.htm
whlstt47.htm
whlstt48.htm
whlstt49.htm
whlstt5.htm
whlstt50.htm
whlstt51.htm
whlstt52.htm
whlstt53.htm
whlstt54.htm
whlstt55.htm
whlstt56.htm
whlstt57.htm
whlstt58.htm
whlstt59.htm
whlstt6.htm
whlstt60.htm
whlstt61.htm
whlstt62.htm
whlstt63.htm
whlstt64.htm
whlstt65.htm
whlstt66.htm
whlstt67.htm
whlstt68.htm
whlstt69.htm
whlstt7.htm
whlstt70.htm
whlstt71.htm
whlstt72.htm
whlstt73.htm
whlstt74.htm
whlstt75.htm
whlstt76.htm
whlstt77.htm
whlstt78.htm
whlstt79.htm
whlstt8.htm
whlstt80.htm
whlstt81.htm
whlstt82.htm
whlstt83.htm
whlstt84.htm
whlstt85.htm
whlstt86.htm
whlstt87.htm
whlstt88.htm
whlstt89.htm
whlstt9.htm
whlstt90.htm
whlstt91.htm
whlstt92.htm
whlstt93.htm
whlstt94.htm
whlstt95.htm
whlstt96.htm
whlstt97.htm
whlstt98.htm
whlstt99.htm
./doc/webhelp/en/whxdata:
whftdata0.xml
whftdata1.xml
whftdata2.xml
whftdata3.xml
whfts.xml
whfwdata0.xml
whfwdata1.xml
whfwdata10.xml
whfwdata11.xml
whfwdata12.xml
whfwdata13.xml
whfwdata14.xml
whfwdata15.xml
whfwdata16.xml
whfwdata17.xml
whfwdata18.xml
whfwdata19.xml
whfwdata2.xml
whfwdata20.xml
whfwdata21.xml
whfwdata22.xml
whfwdata23.xml
whfwdata24.xml
whfwdata25.xml
whfwdata26.xml
whfwdata27.xml
whfwdata28.xml
whfwdata29.xml
whfwdata3.xml
whfwdata30.xml
whfwdata31.xml
whfwdata32.xml
whfwdata4.xml
whfwdata5.xml
whfwdata6.xml
whfwdata7.xml
whfwdata8.xml
whfwdata9.xml
whidata0.xml
whidata1.xml
whidata2.xml
whidata3.xml
whidata4.xml
whidata5.xml
whidata6.xml
whidx.xml
whtdata0.xml
whtdata7.xml
./drivers:
ess_es_server.jar
ess_japi.jar
HFMDriver.dll
HFMDriver64.dll
odihapp_common.jar
odihapp_essbase.jar
odi_hfm.jar
odi-sap.jar
snpsfile.jar
snpsxmlo.jar
./impexp:
GAC_Hypersonic SQL Default.xml
GAC_Informix Default.xml
KM_CKM Teradata.xml
KM_IKM File to Teradata (TTU).xml
KM_IKM Oracle Slowly Changing Dimension.xml
KM_IKM SQL to Hyperion Essbase (DATA).xml
KM_IKM SQL to Teradata (TTU).xml
KM_IKM Teradata Control Append.xml
KM_JKM DB2 400 Simple (Journal).xml
KM_JKM Oracle to Oracle Consistent (OGG).xml
KM_LKM DB2_400 Journal to SQL .xml
KM_LKM File to Netezza (NZLOAD).xml
KM_LKM File to Oracle (SQLLDR).xml
KM_LKM File to Teradata (TTU).xml
KM_LKM MSSQL to Oracle (BCPSQLLDR).xml
KM_LKM SQL to Teradata (TTU).xml
KM_RKM MSSQL.xml
KM_RKM Oracle Olap (Jython).xml
KM_RKM Oracle.xml
KM_ RKM Salesforce.com.xml
KM_RKM Teradata.xml
LANG_SQL.xml
PROF_DESIGNER.xml
PROF_METADATA ADMIN.xml
PROF_NG DESIGNER.xml
PROF_NG METADATA ADMIN.xml
PROF_NG REPOSITORY EXPLORER.xml
PROF_NG VERSION ADMIN.xml
PROF_OPERATOR.xml
PROF_REPOSITORY EXPLORER.xml
PROF_SECURITY ADMIN.xml
PROF_TOPOLOGY ADMIN.xml
PROF_VERSION ADMIN.xml
TECH_Attunity.xml
TECH_BTrieve.xml
TECH_DBase.xml
TECH_Derby.xml
TECH_File.xml
TECH_Generic SQL.xml
TECH_Hyperion Essbase.xml
TECH_Hyperion Financial Management.xml
TECH_Hyperion Planning.xml
TECH_Hypersonic SQL.xml
TECH_IBM DB2 UDB.xml
TECH_IBM DB2400.xml
TECH_Informix.xml
TECH_Ingres.xml
TECH_Interbase.xml
TECH_JMS Queue.xml
TECH_JMS Queue XML.xml
TECH_JMS Topic.xml
TECH_JMS Topic XML.xml
TECH_LDAP.xml
TECH_Microsoft Access.xml
TECH_Microsoft Excel.xml
TECH_Microsoft SQL Server.xml
TECH_MySQL.xml
TECH_Netezza.xml
TECH_Operating System.xml
TECH_Oracle BAM.xml
TECH_Oracle.xml
TECH_Paradox.xml
TECH_PostgreSQL.xml
TECH_Progress.xml
TECH_Salesforce.com.xml
TECH_SAP ABAP.xml
TECH_SAP Java Connector.xml
TECH_SAS.xml
TECH_Sunopsis Engine.xml
TECH_Sybase AS Anywhere.xml
TECH_Sybase AS Enterprise.xml
TECH_Sybase AS IQ.xml
TECH_Teradata.xml
TECH_Universe.xml
TECH_XML.xml
./lib:
scripts
snpshelp.zip
snpsws.zip
sunopsis.zip
./lib/scripts:
DERBY
HYPERSONIC_SQL
IBM_DB2_UDB
IBM_DB2_400
INFORMIX
MICROSOFT_SQL_SERVER
ORACLE
POSTGRESQL
SYBASE_AS_ANYWHERE
SYBASE_AS_ENTERPRISE
SYBASE_AS_IQ
xml
./lib/scripts/DERBY:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/DERBY/patches:
E_04.02.02.01_04.02.03.01.xml
E_410201_420101.xml
E_420101_420201.xml
M_04.02.02.01_04.02.03.01.xml
M_410201_420101.xml
M_420101_420201.xml
W_04.02.02.01_04.02.03.01.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/HYPERSONIC_SQL:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/HYPERSONIC_SQL/patches:
E_04.02.02.01_04.02.03.01.xml
E_300101.xml
E_300101_300102.xml
E_300102_300103.xml
E_300103_300104.xml
E_300104_310101.xml
E_310101_320301.xml
E_320301_400101.xml
E_400101_410101.xml
E_410101_410201.xml
E_410201_420101.xml
E_420101_420201.xml
M_04.02.02.01_04.02.03.01.xml
M_300101.xml
M_300101_300102.xml
M_300102_300103.xml
M_300103_300104.xml
M_300104_300105.xml
M_300105_310101.xml
M_310101_310201.xml
M_310201_320301.xml
M_320301_400101.xml
M_400101_410101.xml
M_410101_410201.xml
M_410201_420101.xml
M_420101_420201.xml
W_04.02.02.01_04.02.03.01.xml
W_300101.xml
W_300101_300102.xml
W_300102_300103.xml
W_300103_310101.xml
W_310101_310201.xml
W_310201_320301.xml
W_320301_400101.xml
W_400101_410101.xml
W_410101_410201.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/IBM_DB2_UDB:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/IBM_DB2_UDB/patches:
E_04.02.02.01_04.02.03.01.xml
E_300101.xml
E_300101_300102.xml
E_300102_300103.xml
E_300103_300104.xml
E_300104_310101.xml
E_310101_320301.xml
E_320301_400101.xml
E_400101_410101.xml
E_410101_410201.xml
E_410201_420101.xml
E_420101_420201.xml
M_04.02.02.01_04.02.03.01.xml
M_300101.xml
M_300101_300102.xml
M_300102_300103.xml
M_300103_300104.xml
M_300104_300105.xml
M_300105_310101.xml
M_310101_310201.xml
M_310201_320301.xml
M_320301_400101.xml
M_400101_410101.xml
M_410101_410201.xml
M_410201_420101.xml
M_420101_420201.xml
W_04.02.02.01_04.02.03.01.xml
W_300101.xml
W_300101_300102.xml
W_300102_300103.xml
W_300103_310101.xml
W_310101_310201.xml
W_310201_320301.xml
W_320301_400101.xml
W_400101_410101.xml
W_410101_410201.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/IBM_DB2_400:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/IBM_DB2_400/patches:
E_04.02.02.01_04.02.03.01.xml
E_300101.xml
E_300101_300102.xml
E_300102_300103.xml
E_300103_300104.xml
E_300104_310101.xml
E_310101_320301.xml
E_320301_400101.xml
E_400101_410101.xml
E_410101_410201.xml
E_410201_420101.xml
E_420101_420201.xml
M_04.02.02.01_04.02.03.01.xml
M_300101.xml
M_300101_300102.xml
M_300102_300103.xml
M_300103_300104.xml
M_300104_300105.xml
M_300105_310101.xml
M_310101_310201.xml
M_310201_320301.xml
M_320301_400101.xml
M_400101_410101.xml
M_410101_410201.xml
M_410201_420101.xml
M_420101_420201.xml
W_04.02.02.01_04.02.03.01.xml
W_300101.xml
W_300101_300102.xml
W_300102_300103.xml
W_300103_310101.xml
W_310101_310201.xml
W_310201_320301.xml
W_320301_400101.xml
W_400101_410101.xml
W_410101_410201.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/INFORMIX:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/INFORMIX/patches:
E_04.02.02.01_04.02.03.01.xml
E_300101.xml
E_300101_300102.xml
E_300102_300103.xml
E_300103_300104.xml
E_300104_310101.xml
E_310101_320301.xml
E_320301_400101.xml
E_400101_410101.xml
E_410101_410201.xml
E_410201_420101.xml
E_420101_420201.xml
M_04.02.02.01_04.02.03.01.xml
M_300101.xml
M_300101_300102.xml
M_300102_300103.xml
M_300103_300104.xml
M_300104_300105.xml
M_300105_310101.xml
M_310101_310201.xml
M_310201_320301.xml
M_320301_400101.xml
M_400101_410101.xml
M_410101_410201.xml
M_410201_420101.xml
M_420101_420201.xml
W_04.02.02.01_04.02.03.01.xml
W_300101.xml
W_300101_300102.xml
W_300102_300103.xml
W_300103_310101.xml
W_310101_310201.xml
W_310201_320301.xml
W_320301_400101.xml
W_400101_410101.xml
W_410101_410201.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/MICROSOFT_SQL_SERVER:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/MICROSOFT_SQL_SERVER/patches:
E_04.02.02.01_04.02.03.01.xml
E_300101.xml
E_300101_300102.xml
E_300102_300103.xml
E_300103_300104.xml
E_300104_310101.xml
E_310101_320301.xml
E_320301_400101.xml
E_400101_410101.xml
E_410101_410201.xml
E_410201_420101.xml
E_420101_420201.xml
M_04.02.02.01_04.02.03.01.xml
M_300101.xml
M_300101_300102.xml
M_300102_300103.xml
M_300103_300104.xml
M_300104_300105.xml
M_300105_310101.xml
M_310101_310201.xml
M_310201_320301.xml
M_320301_400101.xml
M_400101_410101.xml
M_410101_410201.xml
M_410201_420101.xml
M_420101_420201.xml
W_04.02.02.01_04.02.03.01.xml
W_300101.xml
W_300101_300102.xml
W_300102_300103.xml
W_300103_310101.xml
W_310101_310201.xml
W_310201_320301.xml
W_320301_400101.xml
W_400101_410101.xml
W_410101_410201.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/ORACLE:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/ORACLE/patches:
E_04.02.02.01_04.02.03.01.xml
E_300101.xml
E_300101_300102.xml
E_300102_300103.xml
E_300103_300104.xml
E_300104_310101.xml
E_310101_320301.xml
E_320301_400101.xml
E_400101_410101.xml
E_410101_410201.xml
E_410201_420101.xml
E_420101_420201.xml
M_04.02.02.01_04.02.03.01.xml
M_300101.xml
M_300101_300102.xml
M_300102_300103.xml
M_300103_300104.xml
M_300104_300105.xml
M_300105_310101.xml
M_310101_310201.xml
M_310201_320301.xml
M_320301_400101.xml
M_400101_410101.xml
M_410101_410201.xml
M_410201_420101.xml
M_420101_420201.xml
W_04.02.02.01_04.02.03.01.xml
W_300101.xml
W_300101_300102.xml
W_300102_300103.xml
W_300103_310101.xml
W_310101_310201.xml
W_310201_320301.xml
W_320301_400101.xml
W_400101_410101.xml
W_410101_410201.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/POSTGRESQL:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/POSTGRESQL/patches:
E_04.02.02.01_04.02.03.01.xml
E_320301_400101.xml
E_400101_410101.xml
E_410101_410201.xml
E_410201_420101.xml
E_420101_420201.xml
M_04.02.02.01_04.02.03.01.xml
M_320301_400101.xml
M_400101_410101.xml
M_410101_410201.xml
M_410201_420101.xml
M_420101_420201.xml
W_04.02.02.01_04.02.03.01.xml
W_320301_400101.xml
W_400101_410101.xml
W_410101_410201.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/SYBASE_AS_ANYWHERE:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/SYBASE_AS_ANYWHERE/patches:
E_04.02.02.01_04.02.03.01.xml
E_300101.xml
E_300101_300102.xml
E_300102_300103.xml
E_300103_300104.xml
E_300104_310101.xml
E_310101_320301.xml
E_320301_400101.xml
E_400101_410101.xml
E_410101_410201.xml
E_410201_420101.xml
E_420101_420201.xml
M_04.02.02.01_04.02.03.01.xml
M_300101.xml
M_300101_300102.xml
M_300102_300103.xml
M_300103_300104.xml
M_300104_300105.xml
M_300105_310101.xml
M_310101_310201.xml
M_310201_320301.xml
M_320301_400101.xml
M_400101_410101.xml
M_410101_410201.xml
M_410201_420101.xml
M_420101_420201.xml
W_04.02.02.01_04.02.03.01.xml
W_300101.xml
W_300101_300102.xml
W_300102_300103.xml
W_300103_310101.xml
W_310101_310201.xml
W_310201_320301.xml
W_320301_400101.xml
W_400101_410101.xml
W_410101_410201.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/SYBASE_AS_ENTERPRISE:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/SYBASE_AS_ENTERPRISE/patches:
E_04.02.02.01_04.02.03.01.xml
E_300101.xml
E_300101_300102.xml
E_300102_300103.xml
E_300103_300104.xml
E_300104_310101.xml
E_310101_320301.xml
E_320301_400101.xml
E_400101_410101.xml
E_410101_410201.xml
E_410201_420101.xml
E_420101_420201.xml
M_04.02.02.01_04.02.03.01.xml
M_300101.xml
M_300101_300102.xml
M_300102_300103.xml
M_300103_300104.xml
M_300104_300105.xml
M_300105_310101.xml
M_310101_310201.xml
M_310201_320301.xml
M_320301_400101.xml
M_400101_410101.xml
M_410101_410201.xml
M_410201_420101.xml
M_420101_420201.xml
W_04.02.02.01_04.02.03.01.xml
W_300101.xml
W_300101_300102.xml
W_300102_300103.xml
W_300103_310101.xml
W_310101_310201.xml
W_310201_320301.xml
W_320301_400101.xml
W_400101_410101.xml
W_410101_410201.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/SYBASE_AS_IQ:
E_CREATE.xml
E_DROP.xml
M_CREATE.xml
M_DROP.xml
patches
W_CREATE.xml
W_DROP.xml
./lib/scripts/SYBASE_AS_IQ/patches:
E_CREATE.xml
E_DROP.xml
E_04.02.02.01_04.02.03.01.xml
E_300101.xml
E_300101_300102.xml
E_300102_300103.xml
E_300103_300104.xml
E_300104_310101.xml
E_310101_320301.xml
E_320301_400101.xml
E_400101_410101.xml
E_410101_410201.xml
E_410201_420101.xml
E_420101_420201.xml
M_CREATE.xml
M_DROP.xml
M_04.02.02.01_04.02.03.01.xml
M_300101.xml
M_300101_300102.xml
M_300102_300103.xml
M_300103_300104.xml
M_300104_300105.xml
M_300105_310101.xml
M_310101_310201.xml
M_310201_320301.xml
M_320301_400101.xml
M_400101_410101.xml
M_410101_410201.xml
M_410201_420101.xml
M_420101_420201.xml
W_CREATE.xml
W_DROP.xml
W_04.02.02.01_04.02.03.01.xml
W_300101.xml
W_300101_300102.xml
W_300102_300103.xml
W_300103_310101.xml
W_310101_310201.xml
W_310201_320301.xml
W_320301_400101.xml
W_400101_410101.xml
W_410101_410201.xml
W_410201_420101.xml
W_420101_420201.xml
./lib/scripts/xml:
CONN_SecurityConnection.xml
CONVDT_CONVDATATYPESLST.xml
DT_DATATYPESLST.xml
FIELD_FIELD_LST.xml
FLOOK_LOOKUP_LST.xml
LANG_SQL.xml
LOCREP_MASTERREPOSITORY.xml
OBJ_Column.xml
OBJ_DataServer.xml
OBJ_Datastore.xml
OBJ_Model.xml
OBJ_OBJ_SNPOPENTOOL_7800.xml
OBJ_OBJ_SNPSCENFOLDER_7700.xml
OBJ_Solution.xml
PROF_DESIGNER.xml
PROF_METADATAADMIN.xml
PROF_NGDESIGNER.xml
PROF_NGMETADATAADMIN.xml
PROF_NGREPOSITORYEXPLORER.xml
PROF_NGVERSIONADMIN.xml
PROF_OPERATOR.xml
PROF_REPOSITORYEXPLORER.xml
PROF_SECURITYADMIN.xml
PROF_TOPOLOGYADMIN.xml
PROF_VERSIONADMIN.xml
TECH_Attunity.xml
TECH_File.xml
TECH_HyperionEssbase.xml
TECH_HyperionFinancialManagement.xml
TECH_HypersonicSQL.xml
TECH_Informix.xml
TECH_SAPABAP.xml
TECH_SAPJavaConnector.xml
TECH_SAS.xml
./tools:
cdc_iseries
web_services
./tools/cdc_iseries:
SAVPGM0110
./tools/web_services:
odi-public-ws.aar -
Add Command when selecting data tables
I've been playing with the Add Command option that allows you to enter an SQL statement to select data for the report. I was wondering what people use this type of command for? I've used Crystal over 10 years but while I've been using Crystal XI for only about 3 years, I have never used this option.
So what advantages does it have over the graphically selection and linking of data tables?
What types of reporting is usually done with them?
TIA, rasincYou have to know your database well and have fairly good SQL skills, but I've found that there are things I can't do directly in Crystal that I can do when I use a command as the data source. A couple of examples are:
1. When I want to use cross-server joins (MS SQL) or dbLinks (Oracle) to get data from a second (or third!) database, this is the only way to do it short of using a stored procedure, which has it's own issues.
2. When I want to do something complex in the SQL, such as using a set of selects with Unions to "pivot" data without using a cross-tab.
Also, Crystal doesn't always create the most efficient SQL so if I'm having problems with query performance in a report, I'll re-write it using a command so that I can tweak the performance.
-Dell -
hello everybody:
i am building an application supporting 4 DBMS(mysql, oracle, postgreSQL and MS-SQL), i need to find a standard field for store the date and the time no matter what DBMS i am using for it.
note: i do not want to use varchar or long field.
thank you
edsadri have some problem using Timestamp, first i wrote a
method for format the date and return a String for
insert into Timestamp field in mysql i can store
yyyymmddhhmmss but i can not insert this in postgreSQL
because when i examine the table the timestamp field
size is 8 and in mysql is 14....
can you tell me what is wrong??? Instead of formatting the date and using setString use setTimeStamp.
setTimestamp(anIndex, new Timestamp( aDateValue)); -
Hi,
Im trying to use
create table tbl_name as Select Query in OWB
Is that possible to do there in OWB?
Suggesstions please
Regards
ElaMaurice,
As far as I know a parallel insert doesn't write the data in the temporary tablespace but into temporary segments located on the "data" tablespace.
When the transaction get commited Oracle merges these temporary segments with the segment of the target table.agree with you but only in case very simple query (insert ... select from one table ). But if will try to join big tables or select big table over dblink Oracle will use temporary tablespace.
I just performed test with CTAS and direct parallel insert (BIG_TABLE contains 175 millions records and has size 10Gb):
10:04:17 SQL> create table test_ctas parallel as select /*+parallel(a)*/ * from BIG_TABLE a;
Table created.
Elapsed: 00:16:08.33
10:22:43 SQL> truncate table test_ctas;
Table truncated.
Elapsed: 00:00:06.90
10:23:10 SQL> alter session enable parallel dml;
Session altered.
Elapsed: 00:00:00.01
10:32:41 SQL> insert /*+parallel(b)*/ into test_ctas b
10:32:42 2 select /*+parallel(a)*/ *
10:32:43 3 from BIG_TABLE a;
175646535 rows created.
Elapsed: 00:16:45.45
10:49:38 SQL> commit;So in my case duration of CTAS and direct insert operation about 16 minutes.
Regards,
Oleg
Message was edited by:
oleg
Maybe you are looking for
-
Hi I created a template for catalog in InDesign using xml. It works fine with some exceptions. I tag firstname and lastname of Authors. But in the catalog only lastname is displayed. if i remove the lastname tag, it show the first name. Could you ple
-
Problem accessing ECC 6.0 with Crystal
Hi, I installed SAP INtegration Kit for BO and the transports etc., Then i tried to access ECC via Crystal 2008. I choose the new connection for 'Sap table, cluster or function" which when connected showing me three groups CL,DD,FN which donot have t
-
This has probably been asked before but why can't itunes go full screen ?
-
Help with City, State Field
Hi I need help in take one field with the City, State to 2 fields. One with City and the other State. I know how to take 2 fields into 1 but what is the script for 1 into 2 using the "," has the divider? Thank you in advance!
-
Hi Friends, I am working on trip approval process, My client wants to implement just the 'out-of box' workflow. What are the steps to implement the standard workflow . I figured out WS2000040 suits the requirements. Can any one provide me the details