Transparent Gateway for MS SQL Server on Win 2000
Can anyone tell me where I can get this software from? I was led
to believe it was part of the 9.0.1 CD Pack for Microsoft
Windows but it doesnt appear to part of it. Do I have to
purchase another piece of software or can I download it from
somewhere?
Regards,
The gateway is available on the Oracle database CD v9.0.1. There
is no separate CD for the gateway as of v9.0.1.
You can install the gateway but choosing the custom install
option during the installation process.
Similar Messages
-
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 !!!
TIAPlease guide me, would appreciate your suggestions to solve this heck....
TIA -
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. -
Need help trouble shooting Database Gateway for MS SQL Server setup, getting ORA-28546 error
Dear All,
I am trying to setup Oracle Database Gateway for MS SQL Server(I don't have admin access to the MS SQL Server). When I try to test the dblink connection, I get the following error.
I issued select * from dual@xyz;
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=dg4msql)))
ORA-02063: preceding 2 lines from xyz
28546. 0000 - "connection initialization failed, probable Net8 admin error"
My setup is the following.
1. Oracle 11gR2 running on Oracle Linux 6, the same version gateway is installed on the same server, but different home directory.
2. Oracle DB home directory is /u01/app/oracle/product/11.2.0/dbhome_1, gateway home directory is /u01/gateway.
3. I use the same listener.ora file for both the db and the gateway.
4. the contents of my listener.ora, tnsnames.ora and the initdg4msql.ora are below.
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
#(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
mssql =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME=db.abc.com.tw)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME=orcl)
SID_LIST_mssql =
(SID_LIST =
(SID_DESC =
(SID_NAME=dg4msql)
(ENVS=LD_LIBRARY_PATH=/u01/gateway/dg4msql/driver/lib:/u01/gateway/lib)
(PROGRAM_NAME=/u01/gateway/bin/dg4msql)
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.abc.com.tw)
dg4msql =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
/u01/gateway/dg4msql/admin/initdg4msql.ora
HS_FDS_CONNECT_INFO=[192.168.0.1]:1433//XIETEST
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=255
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
dblink was created using statement below.
CREATE DATABASE LINK "xyz.abc.COM.TW"
CONNECT TO SA IDENTIFIED BY
USING 'dg4msql';
Couple more things, that I have done to check the work above.
[oracle@db admin]$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=61 time=7.61 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=61 time=7.41 ms
^C
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1818ms
rtt min/avg/max/mdev = 7.417/7.516/7.615/0.099 ms
[oracle@db admin]$ tnsping dg4msql
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:53:11
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
OK (0 msec)
[oracle@db admin]$ lsnrctl status mssql
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:54:23
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias mssql
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 11-SEP-2013 10:09:46
Uptime 0 days 0 hr. 44 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/db/mssql/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "dg4msql" has 1 instance(s).
Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Obviously, I would like to get this setup to work, but I also have couple other questions regarding this setup.
1. When installing the gateway, it asks to run the root.sh script. the root.sh script as for the following.
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
is the above answer correct?
Thanks for reading.Dear Klaus,
I did start a new SQL*PLUS session
The output of /u01/gateway/bin/dg4msql is
[oracle@db log]$ /u01/gateway/bin/dg4msql
Oracle Corporation --- WEDNESDAY SEP 11 2013 14:45:06.604
Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production Built with
Oracle Database Gateway for MSSQL
The output of env is
HOSTNAME=db.abc.com.tw
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
ORACLE_UNQNAME=orcl
TMPDIR=/tmp
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
USER=oracle
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
ORACLE_SID=orcl
ORACLE_BASE=/u01/app/oracle
ORACLE_HOSTNAME=db.abc.com.tw
MAIL=/var/spool/mail/oracle
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
PWD=/home/oracle
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
SHLVL=1
HOME=/home/oracle
TMP=/tmp
LOGNAME=oracle
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
G_BROKEN_FILENAMES=1
_=/bin/env -
Oracle Gateway for MS SQL Server
I have a oracle 10g database installed on Linux platform. I have installed oracle 11g gateways in the same system in a different location other than that of ORACLE_HOME.
I have configured the initdg4msql.ora and configured the listener in the ORACLE_HOMEs listener.ora
When I try to query the SQL Server table with the db link then I am getting the following error
Error starting at line 1 in command:
select * from dbo.jobs@testlink
Error at Command Line:1 Column:23
Error report:
SQL Error: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Driver][libssclient22]ConnectionOpen.[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
ORA-02063: preceding 2 lines from TESTLINK
the following is my initdg4msql.ora configuration:
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=sqlserv:1433//pubs
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
can anyone tell me where am I going wrong?the patch is not applied to 10g db. Here is the last few lines of the dg4msql trace file
Entered hgocont at 2007/11/13-12:38:05
HS_FDS_CONNECT_INFO = "sqlserv:1433//pubs"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2007/11/13-12:38:05
dsn:sqlserv:1433//pubs, name:sa
optn:
Entered shgogohn at 2007/11/13-12:38:05
Exiting shgogohn, rc=28500 at 2007/11/13-12:38:05
Entered hgocont_OracleCsidToIANA at 2007/11/13-12:38:05
Returning 3
Exiting hgocont_OracleCsidToIANA at 2007/11/13-12:38:05
##>Connect Parameters (len=200)<##
## DRIVER=Oracle 11g dg4msql;
## Address=sqlserv,1433;
## Database=pubs;
#! UID=sa;
#! PWD=*
## AnsiNPW=Yes;
## QuotedId=Yes;
## IANAAppCodePage=3;
## ArraySize=100;
## PadVarbinary=0;
## SupportNumericPrecisionGreaterThan38=1;
Exiting hgogenconstr, rc=0 at 2007/11/13-12:38:05
Entered hgopoer at 2007/11/13-12:41:14
hgopoer, line 159: got native error 0 and sqlstate HYT00; message follows...
[Oracle][ODBC SQL Server Driver][libssclient22]ConnectionOpen.[Oracle][ODBC SQL Server Driver]Invalid connection string attribute
Exiting hgopoer, rc=0 at 2007/11/13-12:41:14
hgocont, line 1890: calling SqlDriverConnect got sqlstate HYT00
Exiting hgocont, rc=28500 at 2007/11/13-12:41:14 with error ptr FILE:hgocont.c LINE:1910 FUNCTION:hgocont() ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2007/11/13-12:41:14 with error ptr FILE:hgolgon.c LINE:612 FUNCTION:hgolgon() ID:Calling hgocont
Entered hgoexit at 2007/11/13-12:41:14
Exiting hgoexit, rc=0 at 2007/11/13-12:41:14 -
Oracle gateway for MS sql server 2005
Is Oracle 9i Gateway for MS SQL Server compatible with SQL 2005? If not what are the other options?
Check the support matrix at metalink.
But be advised that Oracle 9i is in desupport mode. -
Oracle Database Gateway for MS SQL server
Hi,
we have Oracle Database Appliance.
OS: Oracle Linux 5 x64
DB: 11.2.0.3 enterprise (Oracle Database Gateway for MS SQL server at the same version)
Communication with remote DB is OK, but CPU load is too high without any reason. CPU waste, useless HW load, energy waste.
Enterprise manager console:
http://81.89.49.222/em.JPG
OS top:
http://81.89.49.222/top.JPG
Please can you help me how to solve this issue? How can I restart these procesess? Any ideas?
Thank you
MichalHi,
we are using connection to multiple MS SQL servers:
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initaqpdb01.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.18.250.141]://master
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initcosima.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.20.250.99]//COSIMA
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
# custom init parameters
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepos.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.18.250.41]:1433//epos
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepospasohlavky.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[172.31.250.41]/SQL2012/epos
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
dg4msl process, look at posted attachment (print screen of enterprise manager and top from OS).
Thank you
Michal -
where can i download tg4msql ?
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. -
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! -
GATEWAY INSTALL GUIDE FOR MS SQL SERVER
제품 : GATEWAY
작성날짜 : 1999-04-27
how to install the gateway for MS SQL server
Software 요구 사항:
Operating System: Windows NT 4.0
Oracle Server: Oracle8 Server Enterprise Edition Version 8.0.4.0.0
Oracle Networking: On gateway: Net8 Server Version 8.0.4; Oracle Adapter
On Oracle: Net8 Client Version 8.0.4; Oracle Adapter
Microsoft: Network transport protocol software, included with Windows NT
ODBC Driver Manager Version 2.x or 3.0 (included with Microsoft ODBC
Software Development Kit)
ODBC SQL Server Driver Version 2.5 or 2.65
SQL Server Version 6.0 or 6.5
Installing the Gateway:
Step 1: Log on to the Windows NT machine
Step 2: disk space 확인; 약 50Mb 정도가 gateway 설치를 위해서 필요
Step 3: Stop all Oracle NT services
Step 4: Run setup.exe from Stage area (\\guest01-osd\tgmsql804ship)
Step 5: Choose Language
Step 6: Oracle Home 의 위치 설정
Step 7: Installation 방법을 설정. Custom Installation 을 선택하여
the Transparent gateway 제품 선택
Step 8: Click on [Install] button
Step 9: Net8 adapters 가 install 되지 않았다면 install 할 것
Step 10: Reboot your machine제품 : GATEWAY
작성날짜 : 1999-04-27
how to install the gateway for MS SQL server
Software 요구 사항:
Operating System: Windows NT 4.0
Oracle Server: Oracle8 Server Enterprise Edition Version 8.0.4.0.0
Oracle Networking: On gateway: Net8 Server Version 8.0.4; Oracle Adapter
On Oracle: Net8 Client Version 8.0.4; Oracle Adapter
Microsoft: Network transport protocol software, included with Windows NT
ODBC Driver Manager Version 2.x or 3.0 (included with Microsoft ODBC
Software Development Kit)
ODBC SQL Server Driver Version 2.5 or 2.65
SQL Server Version 6.0 or 6.5
Installing the Gateway:
Step 1: Log on to the Windows NT machine
Step 2: disk space 확인; 약 50Mb 정도가 gateway 설치를 위해서 필요
Step 3: Stop all Oracle NT services
Step 4: Run setup.exe from Stage area (\\guest01-osd\tgmsql804ship)
Step 5: Choose Language
Step 6: Oracle Home 의 위치 설정
Step 7: Installation 방법을 설정. Custom Installation 을 선택하여
the Transparent gateway 제품 선택
Step 8: Click on [Install] button
Step 9: Net8 adapters 가 install 되지 않았다면 install 할 것
Step 10: Reboot your machine -
GATEWAY CONFIGURE GUIDE FOR MS SQL SERVER
제품 : GATEWAY
작성날짜 : 1999-04-27
configure gateway for ms sql server
===================================
1. ODBC 환경 설정
a: odbc driver install
b: system data source 설정
2. Gateway 설정
a. gateway SID 를 선택 ( 제약 조건 : 문자와 숫자로 이루어진 4개의 문자 길이)
sid 기본값은 MSQL 임
b. Gateway 초기화 file 을 환경에 맞게 수정
> CD <ORACLE_HOME>\TGMSQL80\ADMIN
> COPY INITMSQL.ORA INIT<YOUR_GATEWAY_SID>.ORA
초기 환경 화일을 수정한다
c. 새로운 gateway service 를 생성
( gateway service 를 gateway sid 값을 MSQl 로 install 할시에는 이미
생성이 됨 )
> SET GTW_EXE=TGMSQL80.EXE
> GTWSRV80 <YOUR_GATEWAY_SID> -CREATE
d. gateway service 를 시작
Control Panel -> Services Icon -> OracleTGServices<GATEWAY_SID> 를
선택하여 시작
3. SQL*NET 설정
a. gateway service 를 위한 listener 설정
<GATEWAY_HOME>\TGMSQL80\ADMIN directory 에 listener.ora file
b. Listener Service 시작
4. Gateway 접근을 위한 oracle db 쪽 설정
a. Net8 설정
tnsnames.ora file 에 gateway 에 대한 항목을 추가
5. 기타
sql server 에서 data dictionary table ( dualmsql ) 을 생성
DUALMSQL 은 oracle data dicationnary 에 mapping 되어 있음
> isql -U<username> -P<password> -iTGMSQLDU.sql
6. Gateway 이용
a. Logon to the Oracle Server
b. SQL Server Database 에 대한 database link 생성
SQL> create database link MSQL connect to <MSQL_USERNAME> identified
by <MSQL_PASSWORD> using 'MSQL';제품 : GATEWAY
작성날짜 : 1999-04-27
configure gateway for ms sql server
===================================
1. ODBC 환경 설정
a: odbc driver install
b: system data source 설정
2. Gateway 설정
a. gateway SID 를 선택 ( 제약 조건 : 문자와 숫자로 이루어진 4개의 문자 길이)
sid 기본값은 MSQL 임
b. Gateway 초기화 file 을 환경에 맞게 수정
> CD <ORACLE_HOME>\TGMSQL80\ADMIN
> COPY INITMSQL.ORA INIT<YOUR_GATEWAY_SID>.ORA
초기 환경 화일을 수정한다
c. 새로운 gateway service 를 생성
( gateway service 를 gateway sid 값을 MSQl 로 install 할시에는 이미
생성이 됨 )
> SET GTW_EXE=TGMSQL80.EXE
> GTWSRV80 <YOUR_GATEWAY_SID> -CREATE
d. gateway service 를 시작
Control Panel -> Services Icon -> OracleTGServices<GATEWAY_SID> 를
선택하여 시작
3. SQL*NET 설정
a. gateway service 를 위한 listener 설정
<GATEWAY_HOME>\TGMSQL80\ADMIN directory 에 listener.ora file
b. Listener Service 시작
4. Gateway 접근을 위한 oracle db 쪽 설정
a. Net8 설정
tnsnames.ora file 에 gateway 에 대한 항목을 추가
5. 기타
sql server 에서 data dictionary table ( dualmsql ) 을 생성
DUALMSQL 은 oracle data dicationnary 에 mapping 되어 있음
> isql -U<username> -P<password> -iTGMSQLDU.sql
6. Gateway 이용
a. Logon to the Oracle Server
b. SQL Server Database 에 대한 database link 생성
SQL> create database link MSQL connect to <MSQL_USERNAME> identified
by <MSQL_PASSWORD> using 'MSQL'; -
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
-
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 -
Using DB Adapter for MS SQL Server 2005 SP in OSB 11g.
Hi All,
I have a requirement to create a DB Adapter for MS SQL Server Stored Procedure in JDeveloper and export the Adapter file to OSB 11g. I have Created the Adapter and imported it into OSB 11g successfully. Created the Datasource and Connection pool also in console.
The problem is while trying to execute the created business Service, I am getting the error as below,
<Oct 26, 2012 12:20:25 PM IST> <Error> <JCATransport> <BEA-381967> <Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/Test/CheckAppID/WL_Driver/CheckAppId_WL_Driver [ CheckAppId_WL_Driver_ptt::CheckAppId_WL_Driver(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CheckAppId_WL_Driver' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
My XSD is ,
<element name="InputParameters">
<complexType>
<sequence>
<element name="application_id" type="int" db:index="1" db:type="INT" minOccurs="0" nillable="true"/>
</sequence>
</complexType>
</element>
<element name="OutputParameters">
<complexType>
<sequence>
<element name="RowSet0" type="db:RowSet0_RowSet" db:type="RowSet0" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
<element name="RowSet1" type="db:RowSet1_RowSet" db:type="RowSet1" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</sequence>
</complexType>
</element>
<complexType name="RowSet1_RowSet">
<sequence>
<element name="RowSet1_Row" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="cde" type="int" db:type="INT" minOccurs="0" nillable="true"/>
<element name="msg" db:type="NVARCHAR" minOccurs="0" nillable="true">
<simpleType>
<restriction base="string">
<maxLength value="255"/>
</restriction>
</simpleType>
</element>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
<complexType name="RowSet0_RowSet">
<sequence>
<element name="RowSet0_Row" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="aaa" type="boolean" db:type="BIT" minOccurs="0" nillable="true"/>
<element name="bbb" db:type="NVARCHAR" minOccurs="0" nillable="true">
<simpleType>
<restriction base="string">
<maxLength value="10"/>
</restriction>
</simpleType>
</element>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
I don't know why there is a datatype conversion error.
Help me in resolving this.
Regards,
Nataraj R.Hi,
I believe NVARCHAR is an unsupported type...
The following document lists the supported data types for SQL Server stored procedures and functions... NVARCHAR is not in the list... :-(
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_db.htm#CHDEBEEE
Hope this helps...
Cheers,
Vlad -
Hello,
We are currently running:
Microsoft SQL Server 2008 R2 (RTM) - 10.50.1617.0 (Intel X86) Apr 22 2011 11:57:00 Copyright (c) Microsoft Corporation Standard Edition on Windows NT 5.2 <X86> (Build 3790: Service Pack 2) (Hypervisor)
We would like to know what is required to configure Reporting Services for Microsoft SQL Server 2008 R2 Standard. Is their a cost associated? I need to inform our IT people what is needed.
Looking forward to your reply, LindaDouble post:
http://social.msdn.microsoft.com/Forums/en-US/3e6c5d4e-228e-4a95-b017-4c20ec61cae4/reporting-services-sql-server-express-2008-r2?forum=sqlreportingservices
Olaf Helper
[ Blog] [ Xing] [ MVP]
Maybe you are looking for
-
If I'm in LIghtroom 5, and try to Edit in Photoshop CS6, I always get the following message: "This version of Lightroom may require the Photoshop Camera Raw plug-in version 8.6 for full compatibility." But I have updated to 8.6 and have no remaining
-
What is the latest version of AJAX
I have AJAX JSF Components 0.96 in my JSC. From this tutorial, http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/ajaxprogressbar.html It seems that BluePrints AJAX is the latest version. However, I run my Updata Center, and
-
Hi, We have an HTML page that contains links for WAD reports. This HTML page is available for all users. Now, I need to restrict the users to access only reports which they are authorized in this HTML. That means, if someone press on a link for repor
-
How to authenticate a Non domain member laptop with AAA
Dear all, I do have problem in resolving issue for AAA, the scenario is like if a user connect his laptop with a cisco Switch, and the computer is not a member of domain, we do like to allow internet and get an ip from DHCP server only to those users
-
List of customers and their MasterCodes
Hi Everyone Is it possible to get a list of the customers I have in UK Field Services LoB and their MasterCodes I have found that some customers are on the wrong MasterCodes and my reports are incorrect Thanks Super