Oracle optimizer and heterogeneous services (Transparent Gateway for ODBC)

Hi everyone!
We have the following configuration:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production.
Oracle Database Gateway for ODBC 11.2.0.2.0 on the same machine as Oracle DB.
Non-Oracle DB installed on a different hardware accessed through Oracle Gateway for ODBC via dblink.
Now, we have to query the remote non-Oracle system and retrieve some data. For the sake of brevity let's suppose we have the following table in our non-Oracle DB:
create table test (
     ip_address varchar(15),
     start_time datetime,
     end_time datetime
And we run the following SQL query against the remote table on our Oracle DB:
SELECT start_time,end_time,ip_address
FROM remote_table@db_link
WHERE
end_time >= to_date('2011-10-11 00:00:00','rrrr-mm-dd hh24:mi:ss')
OR (
end_time IS NULL AND start_time >= to_date('2011-10-11 00:00:00','rrrr-mm-dd hh24:mi:ss')
AND start_time <= to_date('2011-10-12 00:00:00','rrrr-mm-dd hh24:mi:ss')
AND ip_address = '127.0.0.1';
But, having query monitoring on the remote DB enabled, we see that the actual query on the remote site looks like this:
SELECT "START_TIME","END_TIME","IP_ADDRESS"
FROM "REMOTE_TABLE"
WHERE "IP_ADDRESS"='127.0.0.1' AND "START_TIME"<=?
All references to END_TIME column are gone from WHERE clause for whatever reason.
However, Oracle execution plan shows us the following:
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Inst |IN-OUT|
| 0 | SELECT STATEMENT | | 1 | 27 | 200 (0)| 00:00:03 | | |
|* 1 | FILTER | | 1 | 27 | 200 (0)| 00:00:03 | | |
| 2 | REMOTE | REMOTE_TABLE | | | | | DB_LINK | R->S |
Predicate Information (identified by operation id):
1 - filter("END_TIME">=TO_DATE('2011-10-11 00:00:00','rrrr-mm-dd hh24:mi:ss') OR
"END_TIME" IS NULL AND "START_TIME">=TO_DATE('2011-10-11 00:00:00','rrrr-mm-dd hh24:mi:ss'))
Remote SQL Information (identified by operation id):
2 - SELECT "END_TIME","IP_ADDRESS","START_TIME" FROM "REMOTE_TABLE" WHERE
"IP_ADDRESS"='127.0.0.1' AND "START_TIME"<=:1 (accessing 'DB_LINK' )
This actually means that Oracle CBO decided that it will apply filter on END_TIME column after having retrieved the data from the remote site. We don't want this behaviour but have no idea how to affect execution plan in this case.
So, the question is: How can we force Oracle CBO to not change the initial query and pass it to the remote site "as is"? Is there any way we can achieve this goal?
Edited by: user12024904 on 28-Oct-2011 04:05

Hi,
Our Oracle DB and Gateway are running on the following system:
HP-UX B.11.31 U ia64
The following SQL code is executed in SQLPlus:
SELECT start_time,end_time,ip_address
FROM ip_acc_complete@gr_link
WHERE
END_TIME >= to_date('2010-10-21 00:00:00','rrrr-mm-dd hh24:mi:ss')
OR (
END_TIME is null AND START_TIME >= to_date('2010-10-21 00:00:00','rrrr-mm-dd hh24:mi:ss')
AND START_TIME <= to_date('2010-10-22 00:00:00','rrrr-mm-dd hh24:mi:ss')
AND IP_ADDRESS = '127.0.0.1';
Gateway debug trace shows the following:
Oracle Corporation --- TUESDAY NOV 01 2011 14:59:15.254
Heterogeneous Agent Release
11.2.0.2.0
Oracle Corporation --- TUESDAY NOV 01 2011 14:59:15.254
Version 11.2.0.2.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/usr/local/greenwich64/lib/libodbc.so.1"
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"
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 query as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
SQL text from hgopars, id=1, len=117 ...
00: 53454C45 43542022 454E445F 54494D45 [SELECT "END_TIME]
10: 222C2249 505F4144 44524553 53222C22 [","IP_ADDRESS","]
20: 53544152 545F5449 4D452220 46524F4D [START_TIME" FROM]
30: 20224950 5F414343 5F434F4D 504C4554 [ "IP_ACC_COMPLET]
40: 45222057 48455245 20224950 5F414444 [E" WHERE "IP_ADD]
50: 52455353 223D2731 32372E30 2E302E31 [RESS"='127.0.0.1]
60: 2720414E 44202253 54415254 5F54494D [' AND "START_TIM]
70: 45223C3D 3F [E"<=?]
Deferred open until first fetch.
Performing delayed open.
The non-Oracle DB is CopperEye Retrieval Server with its own custom ODBC driver.
CopperEye query log shows that the following query is received from Oracle Gateway:
01/11/2011 14:26:31 - NEW QUERY :
SELECT "END_TIME","IP_ADDRESS","START_TIME" FROM "IP_ACC_COMPLETE" WHERE "IP_ADDRESS"='127.0.0.1' AND "START_TIME"<=?
which complies with the information in Oracle Gateway trace file.
So, it seems that it's Oracle DB decision to split the original WHERE clause into two parts, delegate one part to the remote site, retrieve the data and then apply the remaining filter locally.

Similar Messages

  • Oracle 9i on LINUX Transparent Gateway for SQL Server

    Does anybody know if there is a Transparent Gateway available for Oracle 9i on LINUX to connect to SQL Server? I have run the installer and cannot seem to find the install options for any Transparent Gateways. I am familiar with their location in the universal installer as I have installed the Oracle/SQL Server Transparent Gateway with Oracle in WinNT. Perhaps Transparent Gateways for Oracle/LINUX are not available?
    Thanks in advance.

    I have the same issue - we want to upgrade our 9.2 to 10g Linux, and need to maintain connectivity to some legacy sqlserver databases. I can't find any mention of tg4msql for linux. What gives? Anyone know the answer to this? thanks, michael

  • Oracle Transparent Gateway for MS SQL Server

    Hello,
    I successfully installed the Oracle transparent Gateway for MS SQL Server for Oracle 8i. Now I am doing the same for Oracle 9i.
    Does anyone know how to 'create a new gateway service' on 9i???
    This is how you would do that on 8i on the Windows box...
    1) At the MS-DOS prompt, enter:
    > set GTW_EXE=TG4MSQL.EXE
    2) To create a new gateway service name, enter:
    > GTWSRV73 sid -CREATE | MORE
    -where sid is the gateway sid.
    Does anyone know how to do those steps for 9i Oracle Transparent Gateway?
    Thank you.

    Hi
    I need oracle Tranparent Gateway for Microsoft Sqlserver (tg4msql) for oracle 10g on linux x86-64 bit. I have searched for it on otn.oracle.com and on edelivery.oracle.com. But couldn't find it.
    Can any one help me in this regard.
    Regards
    Nadir.

  • Error fetching data from a foxpro db using Oracle Gateway for ODBC

    Hi.
    I have an 10.2.0.1 database an a 11.2.0 Oracle Gateway for ODBC installed and configured.
    The dblink test works fine, I can connect with the foxpro database because if I execute desc centros I can see the
    columns of table centros.
    The problem comes when I try to execute Select * from centros@fox1;
    A syntax error is returned ([Microsoft][ODBC Visual FoxPro Driver]Syntax error. {42000,NativeErr = 200})
    I paste down the output of the trace file with HS_FDS_TRACE_LEVEL=255
    If I run select codcen from centros@fox1; another error is shown. Tell me if you want the other trace file.
    select codcen from centros@fox1
    ERROR en lÝnea 1:
    ORA-00904: "CODCEN": identificador no vßlido
    Oracle Corporation --- JUEVES MAY 31 2012 13:11:24.765
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- JUEVES MAY 31 2012 13:11:24.750
    Version 11.2.0.1.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 "UCS2"
    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 32 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 "DAVID"
    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:DAVID
    Exiting hgogprd, rc=0
    hostmstr: 2057416704:      HOA After hoagprd
    hostmstr: 2057416704:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=178
    HOCXU_SEM_VER=102000
    Entered hgolofn at 2012/05/31-13:11:25
    Exiting hgolofn, rc=0 at 2012/05/31-13:11:25
    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 32 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2012/05/31-13:11:25
    hostmstr: 2057416704:      HOA After hoainit
    hostmstr: 2057416704:      HOA Before hoalgon
    Entered hgolgon at 2012/05/31-13:11:25
    reco:0, name:SYSTEM, tflag:0
    Entered hgosuec at 2012/05/31-13:11:25
    Exiting hgosuec, rc=0 at 2012/05/31-13:11:25
    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_CHARACTER_SEMANTICS" returned "FALSE"
    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 SYSTEM as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2012/05/31-13:11:25
    HS_FDS_CONNECT_INFO = "Prueba_Foxpro"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2012/05/31-13:11:25
    dsn:Prueba_Foxpro, name:SYSTEM
    optn:
    Entered hgocip at 2012/05/31-13:11:25
    dsn:Prueba_Foxpro
    Exiting hgocip, rc=0 at 2012/05/31-13:11:25
    ##>Connect Parameters (len=39)<##
    ## DSN=Prueba_Foxpro;
    #! UID=SYSTEM;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2012/05/31-13:11:25
    Entered hgopoer at 2012/05/31-13:11:26
    hgopoer, line 233: got native error 0 and sqlstate 01000; message follows...
    [*Microsoft][Administrador de controladores ODBC] El controlador no admite una versión de ODBC distinta de la que la necesita la aplicación (vea SQLSetEnvAttr)*. {01000}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:26
    hgocont, line 2686: calling SqlDriverConnect got sqlstate 01000
    Entered hgolosf at 2012/05/31-13:11:26
    ODBC Function-Available-Array 0xFFFE 0x00FF 0xFF00 0xAA7F 0x03B3 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 0xEE00 0x395C
    Exiting hgolosf, rc=0 at 2012/05/31-13:11:26
    DriverName:VFPODBC.DLL, DriverVer:06.86.0001
    DBMS Name:Visual FoxPro, DBMS Version:03.00.0000
    Exiting hgocont, rc=0 at 2012/05/31-13:11:26 with error ptr FILE:hgocont.c LINE:2686 ID:SQLDriverConnect
    Entered hgopoer at 2012/05/31-13:11:26
    hgopoer, line 233: got native error 0 and sqlstate HYC00; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Driver not capable {HYC00}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:26
    hgolgon, line 795: calling SQLGetInfo got sqlstate HYC00
    SQLGetInfo returns N for SQL_CATALOG_NAME
    Exiting hgolgon, rc=0 at 2012/05/31-13:11:26 with error ptr FILE:hgolgon.c LINE:795 ID:GetInfo: Support catalogs
    hostmstr: 2036506624:      HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 2036506624: RPC Before Upload Caps
    hostmstr: 2036506624:      HOA Before hoaulcp
    Entered hgoulcp at 2012/05/31-13:11:26
    Entered hgowlst at 2012/05/31-13:11:26
    Exiting hgowlst, rc=0 at 2012/05/31-13:11:26
    SQLGetInfo returns 0x0 for SQL_OWNER_USAGE
    TXN Capable:1, Isolation Option:0x2
    SQLGetInfo returns 0 for SQL_MAX_SCHEMA_NAME_LEN
    SQLGetInfo returns 128 for SQL_MAX_TABLE_NAME_LEN
    SQLGetInfo returns 0 for SQL_MAX_PROCEDURE_NAME_LEN
    SQLGetInfo returns ` (0x60) for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    16 instance capabilities will be uploaded
    capno:1964, context:0x00000000, add-info: 0
    capno:1989, context:0x00000000, add-info: 0
    capno:1991, context:0x0001ffff, add-info: 0
    capno:1992, context:0x0001ffff, add-info: 1, translation:"`"
    capno:3042, context:0x00000000, add-info: 0, translation:"42"
    capno:3047, context:0x00000000, add-info: 0, translation:"57"
    capno:3049, context:0x00000000, add-info: 0, translation:"59"
    capno:3050, context:0x00000000, add-info: 0, translation:"60"
    capno:3066, context:0x00000000, add-info: 0
    capno:3067, context:0x00000000, add-info: 0
    capno:3068, context:0x00000000, add-info: 0
    capno:3069, context:0x00000000, add-info: 0
    capno:3500, context:0x00000001, add-info: 91, translation:"42"
    capno:3501, context:0x00000001, add-info: 93, translation:"57"
    capno:3502, context:0x00000001, add-info: 107, translation:"59"
    capno:3503, context:0x00000001, add-info: 110, translation:"60"
    Exiting hgoulcp, rc=0 at 2012/05/31-13:11:26
    hostmstr: 2036506624:      HOA After hoaulcp
    hostmstr: 2036506624: RPC After Upload Caps
    hostmstr: 2036506624: RPC Before Upload DDTR
    hostmstr: 2036506624:      HOA Before hoauldt
    Entered hgouldt at 2012/05/31-13:11:27
    NO instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2012/05/31-13:11:27
    hostmstr: 2036506624:      HOA After hoauldt
    hostmstr: 2036506624: RPC After Upload DDTR
    hostmstr: 2036506624: RPC Before Begin Trans
    hostmstr: 2036506624:      HOA Before hoabegn
    Entered hgobegn at 2012/05/31-13:11:27
    tflag:0 , initial:1
    hoi:0x12f094, ttid (len 54) is ...
    00: 54455354 2E524547 52455353 2E524442 [TEST.REGRESS.RDB]
    10: 4D532E44 45562E55 532E4F52 41434C45 [MS.DEV.US.ORACLE]
    20: 2E434F4D 2E663033 63383037 372E392E [.COM.f03c8077.9.]
    30: 34342E37 3735 [44.775]
    tbid (len 10) is ...
    0: 09002C00 07030000 0104 [..,.......]
    Exiting hgobegn, rc=0 at 2012/05/31-13:11:27
    hostmstr: 2036506624:      HOA After hoabegn
    hostmstr: 2036506624: RPC After Begin Trans
    hostmstr: 2036506624: RPC Before Describe Table
    hostmstr: 2036506624:      HOA Before hoadtab
    Entered hgodtab at 2012/05/31-13:11:27
    count:1
    table: CENTROS
    Entered hgopdsc at 2012/05/31-13:11:27
    Describing procedure CENTROS
    Output hoada
    hgopdsc, line 1426: NO hoada to print
    Exiting hgopdsc, rc=942 at 2012/05/31-13:11:27
    The hoada for table CENTROS follows...
    hgodtab, line 904: NO hoada to print
    Exiting hgodtab, rc=0 at 2012/05/31-13:11:27
    hostmstr: 2036506624:      HOA After hoadtab
    hostmstr: 2036506624: RPC After Describe Table
    hostmstr: 2036506624: RPC Before SQL Bundling
    hostmstr: 2036506624:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2012/05/31-13:11:27
    type:0
    SQL text from hgopars, id=1, len=23 ...
    00: 53454C45 4354202A 2046524F 4D202243 [SELECT * FROM "C]
    10: 454E5452 4F5322 [ENTROS"]
    Exiting hgopars, rc=0 at 2012/05/31-13:11:28
    hostmstr: 2036506624:      HOA After hoxpars
    hostmstr: 2036506624: RPC After SQL Bundling
    hostmstr: 2036506624: RPC Before SQL Bundling
    hostmstr: 2036506624:      HOA Before hoxopen
    Entered hgoopen, cursor id 1 at 2012/05/31-13:11:28
    hgoopen, line 87: NO hoada to print
    Deferred open until first fetch.
    Exiting hgoopen, rc=0 at 2012/05/31-13:11:28
    hostmstr: 2036506624:      HOA After hoxopen
    hostmstr: 2036506624:      HOA Before hoxdscr
    Entered hgodscr, cursor id 1 at 2012/05/31-13:11:28
    Allocate hoada @ 023E983C
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]*Descriptor type out of range* {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:1(codcen): dtype:1 (CHAR), prc/scl:8/0, nullbl:0, octet:8, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:2(litcen): dtype:1 (CHAR), prc/scl:45/0, nullbl:0, octet:45, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:3(codpos): dtype:1 (CHAR), prc/scl:5/0, nullbl:0, octet:5, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:4(codprov): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:5(codmun): dtype:1 (CHAR), prc/scl:3/0, nullbl:0, octet:3, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:6(codecol): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:7(codesin): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:8(cb): dtype:1 (CHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:9(cs): dtype:1 (CHAR), prc/scl:4/0, nullbl:0, octet:4, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:10(digitocon): dtype:1 (CHAR), prc/scl:2/0, nullbl:0, octet:2, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:11(cuenta): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopcda at 2012/05/31-13:11:28
    Column:12(solar): dtype:2 (NUMERIC), prc/scl:5/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopcda at 2012/05/31-13:11:28
    Column:13(construido): dtype:2 (NUMERIC), prc/scl:5/0, nullbl:0, octet:10, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:14(domicen): dtype:1 (CHAR), prc/scl:40/0, nullbl:0, octet:40, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:15(telef): dtype:1 (CHAR), prc/scl:11/0, nullbl:0, octet:11, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:16(fax): dtype:1 (CHAR), prc/scl:11/0, nullbl:0, octet:11, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:17(cif): dtype:1 (CHAR), prc/scl:11/0, nullbl:0, octet:11, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Descriptor type out of range {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    Entered hgopcda at 2012/05/31-13:11:28
    Column:18(litloc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 910: Printing hoada @ 023E983C
    MAX:18, ACTUAL:18, BRC:100, WHT=5 (SELECT_LIST)
    hoadaMOD bit-values found (0x200:TREAT_AS_CHAR)
    DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
    1 CHAR N 8 8 0/ 0 0 0 200 codcen
    1 CHAR N 45 45 0/ 0 0 0 200 litcen
    1 CHAR N 5 5 0/ 0 0 0 200 codpos
    1 CHAR N 2 2 0/ 0 0 0 200 codprov
    1 CHAR N 3 3 0/ 0 0 0 200 codmun
    1 CHAR N 2 2 0/ 0 0 0 200 codecol
    1 CHAR N 2 2 0/ 0 0 0 200 codesin
    1 CHAR N 4 4 0/ 0 0 0 200 cb
    1 CHAR N 4 4 0/ 0 0 0 200 cs
    1 CHAR N 2 2 0/ 0 0 0 200 digitocon
    1 CHAR N 10 10 0/ 0 0 0 200 cuenta
    3 DECIMAL N 7 7 5/ 0 0 0 0 solar
    3 DECIMAL N 7 7 5/ 0 0 0 0 construido
    1 CHAR N 40 40 0/ 0 0 0 200 domicen
    1 CHAR N 11 11 0/ 0 0 0 200 telef
    1 CHAR N 11 11 0/ 0 0 0 200 fax
    1 CHAR N 11 11 0/ 0 0 0 200 cif
    1 CHAR N 30 30 0/ 0 0 0 200 litloc
    Exiting hgodscr, rc=0 at 2012/05/31-13:11:28 with error ptr FILE:hgodscr.c LINE:615 ID:Transfer Octet Length
    hostmstr: 2036506624:      HOA After hoxdscr
    hostmstr: 2036506624: RPC After SQL Bundling
    hostmstr: 2036506624: RPC Before SQL Bundling
    hostmstr: 2036506624:      HOA Before hoxclse
    Entered hgoclse, cursor id 1 at 2012/05/31-13:11:28
    Exiting hgoclse, rc=0 at 2012/05/31-13:11:28
    hostmstr: 2036506624:      HOA After hoxclse
    hostmstr: 2036506624:      HOA Before hoadafr
    Entered hgodafr, cursor id 1 at 2012/05/31-13:11:28
    Free hoada @ 023E983C
    Exiting hgodafr, rc=0 at 2012/05/31-13:11:28
    hostmstr: 2036506624:      HOA After hoadafr
    hostmstr: 2036506624:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2012/05/31-13:11:28
    type:0
    SQL text from hgopars, id=1, len=235 ...
    00: 53454C45 43542041 312E2263 6F646365 [SELECT A1."codce]
    10: 6E222C41 312E226C 69746365 6E222C41 [n",A1."litcen",A]
    20: 312E2263 6F64706F 73222C41 312E2263 [1."codpos",A1."c]
    30: 6F647072 6F76222C 41312E22 636F646D [odprov",A1."codm]
    40: 756E222C 41312E22 636F6465 636F6C22 [un",A1."codecol"]
    50: 2C41312E 22636F64 6573696E 222C4131 [,A1."codesin",A1]
    60: 2E226362 222C4131 2E226373 222C4131 [."cb",A1."cs",A1]
    70: 2E226469 6769746F 636F6E22 2C41312E [."digitocon",A1.]
    80: 22637565 6E746122 2C41312E 22736F6C ["cuenta",A1."sol]
    90: 6172222C 41312E22 636F6E73 74727569 [ar",A1."construi]
    A0: 646F222C 41312E22 646F6D69 63656E22 [do",A1."domicen"]
    B0: 2C41312E 2274656C 6566222C 41312E22 [,A1."telef",A1."]
    C0: 66617822 2C41312E 22636966 222C4131 [fax",A1."cif",A1]
    D0: 2E226C69 746C6F63 22204652 4F4D2022 [."litloc" FROM "]
    E0: 43454E54 524F5322 204131 [CENTROS" A1]
    Entered hgopoer at 2012/05/31-13:11:28
    hgopoer, line 233: got native error 200 and sqlstate 42000; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]Syntax error. {42000,NativeErr = 200}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgopars, line 457: calling SQLPrepare got sqlstate 42000
    Exiting hgopars, rc=28500 at 2012/05/31-13:11:28 with error ptr FILE:hgopars.c LINE:487 ID:Prepare stmt
    hostmstr: 2036506624:      HOA After hoxpars
    hostmstr: 2036506624: RPC After SQL Bundling

    The first issue I see is that Oracle 10.2.0.1 was never certified with DG4ODBC 11. Only 10.2.0.4 or 10.2.0.5 can be used as the Oracle database HS kernel requires a gateway compatibility patch and this patch is included in 10.2.0.4 or 10.2.0.5 Oracle database patch set.
    Then another error in the trace is that for each column description you have an error:
    hgopoer, line 233: got native error 0 and sqlstate HY091; message follows...
    [Microsoft][ODBC Visual FoxPro Driver]*Descriptor type out of range* {HY091}
    Exiting hgopoer, rc=0 at 2012/05/31-13:11:28
    hgodscr, line 615: calling SQLColAttribute got sqlstate HY091
    It seems it is not critical as DG4ODBC continues, but a more detailed analysis would require an ODBC trace.
    When looking at the table description it seems the column names are all in lower letters, for example: solar. So commonly Dg4ODBC needs to quote the names
    00: 53454C45 43542041 312E2263 6F646365 [SELECT A1."codce]
    10: 6E222C41 312E226C 69746365 6E222C41 [n",A1."litcen",A]
    20: 312E2263 6F64706F 73222C41 312E2263 [1."codpos",A1."c]
    30: 6F647072 6F76222C 41312E22 636F646D [odprov",A1."codm]
    40: 756E222C 41312E22 636F6465 636F6C22 [un",A1."codecol"]
    50: 2C41312E 22636F64 6573696E 222C4131 [,A1."codesin",A1]
    60: 2E226362 222C4131 2E226373 222C4131 [."cb",A1."cs",A1]
    70: 2E226469 6769746F 636F6E22 2C41312E [."digitocon",A1.]
    80: 22637565 6E746122 2C41312E 22736F6C ["cuenta",A1."sol]
    90: 6172222C 41312E22 636F6E73 74727569 [ar",A1."construi]
    A0: 646F222C 41312E22 646F6D69 63656E22 [do",A1."domicen"]
    B0: 2C41312E 2274656C 6566222C 41312E22 [,A1."telef",A1."]
    C0: 66617822 2C41312E 22636966 222C4131 [fax",A1."cif",A1]
    D0: 2E226C69 746C6F63 22204652 4F4D2022 [."litloc" FROM "]
    E0: 43454E54 524F5322 204131 [CENTROS" A1]
    and according to the trace the FoxPro ODBC driver doesn't like these quotes and reports a syntax error.
    So this explains at least why select codcen from centros@fox1 will fail. In general the Oracle database is case insensitive and translates all object names to upper case and the select it will pass to the foreign database would be similar to:
    select CODCEN from CENTROS => which will fail as FoxPro is case sensitive. So the error message ORA-00904 (missing column name) is correct and the statement you need to use is:
    select "codcen" from centros@fox1;
    But this might lead again to the Syntax error you got earlier => You need to check which sign (single quote, back tick, double quote) Foxpro uses to quote object names and then set the gateway parameter HS_FDS_QUOTE_IDENTIFIER accordingly.
    To check which character can be used to quote column/table names you might use the Microsoft ODBc test utility which was distributed in the old MDAC 2.8:
    http://www.microsoft.com/downloads/details.aspx?familyid=5067faf8-0db4-429a-b502-de4329c8c850&displaylang=en
    Edited by: kgronau on Jun 1, 2012 7:27 AM
    If you know where I can download the MS FoxPro ODBC driver, please let me know and I'll check.

  • Help Configuring Transparent Gateway for Ms Sql Server

    I have Installed Oracle 9.2.0.1.0 with Transparent Gateway for Ms Sql Server.
    Followed the configuration furnished therein the Documents for Tnsnames.ora & Listener.ora.
    Connection to Sql Server 2000 is NOT SUCCESSFUL. Trace File contents from Tg4sql is furnished below :
    Oracle Corporation --- WEDNESDAY DEC 18 2002 22:32:50.625
    Heterogeneous Agent Release
    9.2.0.1.0
    HS Agent diagnosed error on initial communication,
    probable cause is an error in network administration
    Network error 2: NCR-00002: NCR: Invalid usage
    Note :- Sql Server & Oracle Server are on the same Machine running of Windows 2000 Server.
    Am i missing something !!!
    TIA

    Please guide me, would appreciate your suggestions to solve this heck....
    TIA

  • Free download of transparent gateway for SQL Server

    Can anyone give me the URL where I can download the transparent gateway for SQL Server.. I searched OTN but couldn't find it. I just want to try it out..
    Thanks.

    The indicated URL also shows the zip for the 10gR2 gateways for Windows software: 10201_gateways_win32.zip
    To use a gateway you also have to use an Oracle database as a so-called integrating kernel. In this Oracle database you define the database link to the gateway to be able to connect to SQL Server.
    But TG4MSQL 10gR2 has been desupported, which means that bugfixing has been stopped. Also just to make clear, allthough the software can be freely downloaded the product itself requires a license when you decide to use it after testing it.
    And I recommend to try the DG4MSQL 11gR1 software instead, it can also be found at Oracle Technet:
    http://www.oracle.com/technology/software/products/database/oracle11g/111070_win32_2008soft.html
    When using a 11gR1 database gateway the Oracle database you use with the gateway must be 10.2.0.4.0 or higher. Or have a closer look at Metalink document: 457808.1 - Database Patch 5965763 Required For Pre-11g Databases Using 11g Database Gateways
    Look for: win32_11gR1_gateways.zip
    Regards,
    Ed

  • Invalid column name for Transparent Gateway for SQLServer

    I have successfully set up a transparent gateway for an MS SQLServer database 'pubs' from Oracle 910. I am able to run the following statement successfully as it returns all results without a hitch:
    select * from authors@pubs;
    pubs is the database link for the transparent gateway.
    But when I select any particular column in the select statement like:
    select city from authors@pubs;
    I get the following error:
    select city from authors@pubs
    ERROR at line 1:
    ORA-00904: invalid column name
    Can anyone help me with this?
    Thanks

    Samarjit,
    This should work. Are you using a certified configuration?
    Check our certification matrix at http://otn.oracle.com/products/gateways/pdf/certmatrix2.pdf
    Vira

  • How to configure distributed transaction in Oracle Database Gateway for ODBC? (ORA-02047)

    I am connecting from Oracle to another database server (MS SQL Server, DB2 the error message is the same) through an ODBC connection using Oracle SQL Developer. (This is how I set up)
    I want to query the schema of a non-Oracle database using the data dictionary mapping of the Oracle Database Gateway for ODBC.
    This works well:
    select * from all_tables@katimssql;
    But this doesn't:
    create table alltables_mssql as
    select * from all_tables@katimssql;
    Output:
    Error report:
    SQL Error: ORA-00604: error occurred at recursive SQL level 1
    ORA-02047: cannot join the distributed transaction in progress
    ORA-06512: at "SYS.HS$_DDTF_SQLTABLES", line 58
    ORA-06512: at line 1
    Does anyone know the solution of this?
    Thanks in advance,
    Kata
    Details:
    Oracle Database 11g Express Edition Release 11.2.0.2.0
    Microsoft SQL Server 2008 (SP2) - 10.0.4000.0 (X64)
    ODBC Driver: SQL Server Native Client 11.0 (32 bit)
    initkatimssql.ora:
    HS_FDS_CONNECT_INFO=katimssql
    HS_FDS_TRACE_LEVEL = ON
    HS_TRANSACTION_MODEL = READ_ONLY_AUTOCOMMIT
    I tried these, none of them worked, the error message is the same.
    HS_FDS_TRACE_LEVEL = off
    HS_TRANSACTION_MODEL = SINGLE_SITE
    HS_TRANSACTION_MODEL = READ_ONLY_AUTOCOMMIT
    HS_TRANSACTION_MODEL = READ_ONLY

    Hi Kata,
    this won't work as the ALL_TABLES is not a table that exists in your SQl Server  - instead it is a "mimicked" table. This means the gateway will check if you have on your SQL Server a table called all_tables and when there's no table it will start an internal mechanism to check out what sort of tables exist in your SQL Server database. So the gateway is starting internally another transaction to get details from the foreign database and DG4ODBC can't participate in distributed transactions at all. Instead of using all_tables you have to use a real SQL Server table like SQ Server sys.objects or sys.tables.
    - Klaus

  • Oracle Database Gateway for ODBC with Oracle XE

    Dear Colleague,
    Is it possible to use the Oracle Database Gateway for ODBC in conjunction with the Oracle Express Edition (or does one have to use the Standard or Enterprise Editions)? If yes, are there any restrictions when using the Oracle Database Gateway for ODBC in the context of Oracle XE?
    Best regards,
    Randy

    Hi,
    As it says, as long as you have an RDBMS license then you do not need a separate license for DG4ODBC. If the confusion is where it says "Oracle Database Gateway for ODBC can be installed and used on a machine different" then that is just to clarify that you can run the gateway on a completely separate machine from where the licensed RDBMS is running, but you can also run DG4ODBC on the same machine where the RDBMS is installed.
    If you install 11g DG4ODBC on the same machine where you have a 10g RDBMS then it must be installed into a separate ORACLE_HOME.
    If this is still not clear then please get back and let us know exactly what you need clarifying.
    Regards,
    Mike

  • Difference between Reporting Services Sharepoint Mode and Reporting Services Add In for Sharepoint 2013

    Hi, We are building company site with Sharepoint 2013 Enterprise Edition and were wondering what is the difference between Reporting Services Sharepoint Mode and Reporting Services Add In for Sharepoint 2013? What are the roles/purposes of each one? What
    happens if only Reporting Services Sharepoint Mode  installed or vise versa.
    Thank you in advance

    Reporting Services in SharePoint mode is a service for displaying, managing, and creating SSRS reports within SharePoint. The addin is a pre-req for SharePoint that is used to display reports and is required for Reporting Services in Native or SharePoint
    mode, but does not by itself do anything.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Is this a real Apple email? Dear Customer, We're constantly working to make our clients safer and our services more convenient for our customers. Your account has been frozen temporarily in order to protect it. The account will continue to be frozen

    Is this a real Apple email?
    Dear Customer,
    We're constantly working to make our clients safer and our services more convenient for our customers. Your account has been frozen temporarily in order to protect it.
    The account will continue to be frozen until it is approved And Validated . Once you have updated your account records, your information will be confirmed and your account will start to work as normal once again.
    Confirm Now >
    Wondering why you got this email? It's sent when someone adds or changes a contact email address in your account. If you didn't do this, don't worry. Your email address cannot be used as a contact address in your ID without your verification.
    Sincerely,
    Customer Support

    Dennis,
    Definitely a phishing email.  "Confirm Now" is linked to:
    Read Identifying fraudulent "phishing" email - Apple Support. It will help you identify and report fraudulent email.

  • Nvarchar fields using Transparent Gateway for MS SQL

    We are using TG to make a number of tables/views available in an Oracle database. The tables in question contain a number of nvarchar fields which are expected to contain Unicode data. These fields cause a number of problems when accessed in Oracle. Firstly, queries returning any nvarchar(x) (for some x) fields hang when they are run in Oracle and it is necessary to reset the connection before running another query! Fields with type nvarchar(max) do come through, however they come through as type LONG, which is very difficult to do anything useful with in Oracle and cannot be searched on.
    We are working around the problem by creating views in MS SQL on top of our original tables/views which cast nvarchar(x) to varchar(x). We are then able to query these new views in Oracle, search on text fields etc. However, MS SQL does not properly support UTF-8 in varchar fields and the conversion results in downgrading our data to the latin-1 character set. Note casting nvarchar(x) to nvarchar(max) in MS SQL does not work, the queries still hang. We also have a problem where the length of the nvarchar field in MS SQL is longer than the max supported varchar2 length in Oracle. In this case TG will again provide a LONG converted field.
    We would like to know how to get full Unicode data to come across Transparent Gateway. We would be happy to get our data in the Oracle nvarchar2 type, or varchar2 with utf8 would also be fine, ideally with clob/nclob for over-length fields. Alternatively any solution which allows us to access full Unicode data would probably be acceptable. We only need to query the data from inside one ETL package, which will store the transformed data in Oracle, so a solution which involves a cast at this stage would also be acceptable, although obviously having the data show up correctly directly through TG would be better.

    Heya,
    Here is an example table in SQL Server:
    CREATE TABLE [dbo].[tblPnLCostNames](
         [ID] [int] IDENTITY(1,1) NOT NULL,
         [Name] [nvarchar](2048) NOT NULL,
         [Group] [nvarchar](50) NULL,
          [nvarchar](50) NULL,
         [Description] [nvarchar](1024) NULL,
    CONSTRAINT [PK_tblPnLCostNames] PRIMARY KEY CLUSTERED
         [ID] ASC
    )WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
    ) ON [PRIMARY]
    And in Oracle I did this:
      CREATE TABLE "FOR_DW_DEV01"."UNICODE_COST_TEST"
       (     "ID_" NUMBER,
         "NAME_" LONG,
         "GROUP_" VARCHAR2(50 CHAR),
         "CODE_" VARCHAR2(50 CHAR),
         "DESCRIPTION_" VARCHAR2(1024 CHAR)
    Now I want to be able to say:
    insert into unicode_cost_test ( id_, name_, group_, code_, description )
    select "ID", to_lob( "Name" ), "Group", "Code", "Description" from tblPnlCostNames@my_link;
    The other fields are shorter and will go straight in to varchar2 fields as UTF-8 with no problems following some tweaks to the gateway ini file. Anything over 2000 characters comes across as a LONG, but trying to use the to_lob function results in "ORA-00997: illegal use of LONG datatype". Doing the same thing using a local table with a LONG field as the source works fine. Is to_lob supposed to work on LONG fields that come across the gateway?
    I found this in the 11.2.0.2.2 bugfix list:
    10157402 - lob segment has null data after long to lob conversion in parallel mode
    (ftp://ftp.hj.se/Oracle/Patchar/11.2.0.2/psu_april_2011/download.htm#BABDIEDD)
    Could this be related?
    The only way I have found to read the LONG fields so far that works is to use select into, and read each value individually!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Lost RPC connection - Oracle 8 to DB2 using Transparent Gateway

    Frequently I'm getting the following message when connecting to DB2 database:
    "lost RPC connection to heterogeneous remote agent using..."
    The problem is that most of the time it works fine, but at least once a day I get this error... and the system is in production phase!!!
    *I have Oracle8 connected to DB2 using Transparent Gateway
    Any clue? Please help...
    Thanks Eduardo

    I am also getting this error while connecting to DB2. It works some time.

  • Missing shared feature Reporting Services Sharepoint and Reporting Services Add-in for Sharepoint products

    Hi, when I try to install SQL Server 2012 SP1 (ISO from Microsoft Download website) on a Windows Server 2012 and try to select the shared feature options: 
    - Reporting Services Sharepoint
    - Reporting Services Add-in for Sharepoint products
    They are both missing from the list.
    How do I solve this? Help!

    Hello,
    Did you download the SQL Server 2012 Express with Advanced Services edition from the Microsoft website? If so, this edition did not support SharePoint Integration mode.
    Just as Alberto post above, Business intelligence features are not all available in all editions of SQL Server 2012. You can refer to the following link about support features in Editions of SQL Server 2012:
    Reference:http://technet.microsoft.com/library/cc645993(SQL.110).aspx#Reporting
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • SharePoint 2013 and SAP connectivity / SAP Gateway for Microsoft and Duet Enterprise 2.0

    Hello,
    we are investigating the connection possibilities of SharePoint 2013 with SAP.
    The basic scenario in our cases involves the transfer of documents and/or metadata from SharePoint to SAP possibly through a Workflow in SharePoint.
    From my research the most promising official (no 3d-party) interfaces that can be used are the Duet Enterprise 2.0 and the SAP Gateway for Microsoft.
    From my understanding both interfaces allow only the consumption of Data from SAP to SharePoint and not vice versa. Moreover the interoperability of documents seems not be supported. Are CRUD operations from a SharePoint native lists to SAP supported?
    Can someone please clarify this topics?
    I have found lots of documentation concerning the interfaces but not a clear answer to this questions.
    Many thanks in advance!
    Ioannis

    Hi Ioannis,
    It seems that there is no built in method to get data from SharePoint list in SAP.
    As a workaround, we can export SharePoint list to excel and then use that spread sheet as a source data in SAP.
    http://scn.sap.com/thread/3467263
    http://scn.sap.com/thread/3472110
    As this issue is regarding to SAP, I recommend you to ask the question in the SAP:
    http://scn.sap.com/welcome.
    More experts will assist you, then you will get more information relation to SAP.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

Maybe you are looking for