Connecting Oracle 8i to SQL 7 or 2000
Hi all..
Is there a way by which we can link a SQL 7 server to Oracle (from the Oracle DB) i.e. if I have to check from within Oracle a SQL table can this happen? I know that it works from within SQL server, but I sure don't know how to do it from within Oracle...
Regards,
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Wing Kee:
Using OPENQUERY inside SQL7 can direct select a table from oracle<HR></BLOCKQUOTE>
Thank you for the answer, I may have not formulated my question right... I knew that piece of information about SQL server, but I needed to know if it was at all possible inside Oracle... thanx
Similar Messages
-
Connecting Oracle(64bit) to SQL Server(32bit) with heterogeneous serv ODBC
Hi,
We are planing the migration of 32bit Oracle 9.2.0.8 (MS Windows Server 2003 EE SP1) to 64 bit Oracle 10.2.0.4 (MS Windows Server 2003 Standard x64 Edition SP2).
We have tested the migration using export/import procedure, and everything passed ok.
The problem is because the database we are planning to migrate (32bit) using Oracles heterogeneous Services ODBC agent in connection to 32 bit SQL Server 2000. When we have tried to implement that on 64bit 10.2.0.4 oracle we always get the message:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
Then we looked up the metalink and find the document: Is Generic Connectivity Available On Linux Or Windows 64-bit Platforms ? [*ID 361676.1*]
Is there any way to make the connection between 64bit Oracle 10.2.0.4 and 32bit SQL Server using system DSN within the Windows ODBC Data Sources with choosing the SQL Server driver?
The option with Database Gateway for ODBC (DG4ODBC) isn't free.
ThanksHi everyone
As far as I am aware, you need to install the Discoverer EUL into an Oracle database and then use an ODBC connection to SQL Server. This is because Discoverer has hooks into the Oracle database and is looking for features that only exist in an Oracle database. If you are using an Infrastructure, which is mandatory when using 4i, you can use that database to store your EUL using an ODBC connection over to SQL Server.
I hope this helps
Best wishes
Michael Armstrong-Smith
URL: http://learndiscoverer.com
Blog: http://learndiscoverer.blogspot.com -
Not able to connect Oracle DBXE from sql*plus client
Hi,
I have installed Oracle 10gXE from oracle site. i have updated the tnsnames.ora also
but when i try to connect the db through sql*plus client, i am redirected to .net debugger.
Pls help me in this,
Thanks in advance.
-- RajaHello,
Can you clarify what you are trying to connect from? If it's B1 ( one ) then post to the [B1 forum|http://forums.sdn.sap.com/index.jspa#44].
Otherwise need more info on the product you are using?
Typically the Oracle Path must be in the PATH statement as well it requires the correct platform ( 32 or 64 ) bit client installed.
Most BOE/CR products are 32 bit so you need to install the 32 bit client.
Don -
Connect Oracle Reports to SQL server
Dear All,
I am using SQL Server 2005 and want to connect Oracle Report 6i to SQL Server 2005 without installing Oracle Database. Installing both the databases slows down the machine.
Regards,
Muhammad Yasir Bodla
Edited by: user650351 on Jun 3, 2009 5:28 AMHi,
As far as I know this is possible using ODBC and Oracle Open Client Adapter (OCA), but I do not know the details and the howto's.
Probably you'll get a better answer when posting this question at the Reports forum:
Reports
Regards,
Ed -
Connect oracle forms to sql server 2000
Kindly tell me what kinds of scripts i have to install in SQL Server.
Hi,
You have 2 major options:
1. Use Generic Connectivity with your Oracle 9i database running on Solaris. However it requires a proper ODBC-Driver to be installed on Solaris capable of connecting to Microsoft SQL Server
MetaLink DocID: 245549.1 - How to setup Generic Connectivity - HSODBC - on SUN Solaris
Remark: Oracle 9i has been de-supported, should you run into new bugs they wouldn't be fixed by Oracle
2. Install and use the Database Gateway for ODBC 11g on the same machine which hosts the SQL Server database. Usage of this gateway is included in the Oracle database license. DG4ODBC also requires an ODBC-Driver but this one is mostly already present.
Another option would be to install the Database Gateway for MS SQL Server (DG4MSQL) 11g on the same machine which hosts the SQL Server database. However this gateway requires an additional license. The big advantage of this gateway over DG4ODBC is that it supports the two phase commit protocol (distributed updates) and calling of SQL Server stored procedures. Also the dataype mapping is better compared to DG4ODBC.
One thing though; in order for you Oracle 9i database to cooperate with one of the 11g gateways a patch for bug 5965763 on top of 9.2.0.8.0 is required. See also MetaLink DocID: 457808.1 for more details.
I hope this get you going.
Regards,
Ed -
Error connecting oracle 11g through SQL Developer
i am using SQL Developer to connect to oracle 11g which is installed to another machine in same network
means i am using a client machine to get connected to oracle installed to host machine through SQL Developer
iam getting this error
network adapter could not establish the connection
vendor code 170002
my listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = his-zoheb.PCSTECH.COM)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
my tnsnames.ora
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = his-ansari.pcstech.com)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl)
iam not understanding what is problem
please somebody helpI would say it's vendor code 17002 (not 170002). And such a message is thrown by SQL Developer , unfortunately very generic for any kind of connection problems.
Start sqlplus and try to connect, very likely you get a better error message.
Recently I had such a connection problem and the reason was - No Listener.
Werner -
Want to connect Oracle 11g from SQL Navigator on Windows
Hi brothers,
I'm a new ora man, and having a issue need your help.
I installed Ora 11g on linux (Ubuntu 8.10) and SQL Navigator 11g on WindowsXP. Now, I want to use SQL Navigtor to connect database server. I tried many times but it still fails with me. I read some articles on Internet but they were not useful to me.
Here is some information about my system.
Linux : 192.168.0.82
Windows : 192.168.0.230
(+I can ping from Windows to Linux+)
$ lsnrctl stat
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 03-APR-2009 16:18:15
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 03-APR-2009 08:33:41
Uptime 0 days 7 hr. 44 min. 34 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File /u01/app/oracle/diag/tnslsnr/kimngoc-desktop/listener/alert/log.xml
Listening Endpoints Summary...
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=kimngoc-desktop)(PORT=1521)))+
Services Summary...
Service "intrepid" has 1 instance(s).
Instance "intrepid", status READY, has 1 handler(s) for this service...
Service "intrepidXDB" has 1 instance(s).
Instance "intrepid", status READY, has 1 handler(s) for this service...
Service "intrepid_XPT" has 1 instance(s).
Instance "intrepid", status READY, has 1 handler(s) for this service...
The command completed successfully
$ps -afe | grep -i listener
oracle 5383 1 0 08:33 ? 00:00:00 /u01/app/oracle/product/11.1.0/orasample/bin/tnslsnr LISTENER -inherit
oracle 19705 6600 0 16:23 pts/0 00:00:00 grep -i listener
Pls help solve this problem if you can.download SqlDeveloper from OTN.
it allows you to connect to remote databases without extra drivers
BTW, there is a SqlDeveloper forum here on OTN, might be helpful
SQL Developer -
Proble to connect oracle DB from Sql Developer
1st I installed fedora 13 on VirtualBox 4.1 machine and then i installed a oracle 10g(the db run correctly and listener too).
the listener paramater:
LISTENER =(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.8)(PORT=1521))
2nd in my local machine (Fedora 13 too) i installed a sql developer and when i trying connect to oracle on virutal machine i recived a next error
using connection Basic:Status: Failure -Test failed: IO Error: The Network Adapter could not establish the connection.
the parameter i settings are:
connection name:XXXX
username name:user_created
password:XXXX
Hostname = 10.0.0.8
port = 1521
SID = the_same_of_database
i can make ping well to the virtual machine.
using connection TNS: Status: Failure -Test failed. Required property 'hostname' is not set on the DatabaseProvider.
But i don't know where is the tnsnames file for sql developer.
i don't know if i have to install any JDBC for sqldeveloper.
i can't make tnsping because on my local machine i don't have installed.Hi, excuse me, but mi trouble come from my listener.ora,
Help me please, my listener settings is:
Listener
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = ipc)(KEY = PNPKEY))
(ADDRESS = (PROTOCOL = tcp)(HOST = fe13oracle01.localdomain)(PORT = 1521))
) #AFTER I RAN THE LSNRCTL START THOSE parentheses WAS BECAMED RED
) #AFTER I RAN THE LSNRCTL START THOSE parentheses WAS BECAMED RED
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = MY_SID)
(ORACLE_HOME = /opt/app/oracle/product/10.1.0/db_1)
(SID_NAME = MY_SID)
(PROGRAM = extproc)
lsnrctl start:
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 16-JAN-2012 23:29:28
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
The command completed successfully
[oracle@fe13oracle01 ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 16-JAN-2012 23:29:36
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /opt/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /opt/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Log messages written to /opt/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fe13oracle01.localdomain)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 16-JAN-2012 23:29:36
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Listener Log File /opt/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=fe13oracle01.localdomain)(PORT=1521)))
Services Summary...
Service "MY_SID" has 1 instance(s).
Instance "MY_SID", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Tnsnames:
PROPHET =
(DESCRIPTION_LIST =
(ADDRESS = (PROTOCOL = tcp)(HOST = 10.0.0.8)(PORT = 1521)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = MY_SID)
On my (ORACLE_SID =) on my .bash_profile i put sid_name UPPER, i don't know if that point has any influences -
Connect Oracle 9i to SQL Server: platform incompatibility
Hi,
we want to connect an Oracle 9.2.0.4.0 - 64bit Production to a SQL Server.
The Oracle DB is on a HP-UX Itanium 64bits machine.
The SQL Server is on a WIN2000 machine.
Our first choice to get them connected was an ODBC and HS.
However, as far as we know, there is not HS for our platforms combination.
We have also tried to use another Oracle BD in a WIN machine as a middle tier.
Single queries work fine, but advance plsql blocks render in several errors (some due to db version, others to the way the oracle manager works)... so this solution also fails.
We have read about Transparent Gateway. But since it uses HS, we are not sure our platform combination is supported. Moreover, on the whitepaper is said "stored procedures are not supported", which it is a hard backdraw.
Any suggestion or workaround?
Thanks in advance!
Alberto.You can use TG4MSQL, the Gateway to SQL Server.
The big advantage of the gateways is: they are independant from an Oracle db.
This means, you can run an Oracle DB on machine A, have the gateway installed on machine B and run the foreign database on a 3rd machine!
The TG4MSQL is only available for Windows based 32bit platforms, so in your case you can install the gateway on the SQL Server machine or -if you don't have access to it- on a 3rd machine running MS Windows operating system. -
I have problem to connect oracle DB with SQL developer
I try connect to my oracle db with oracle SQL developer and received that message:
http://ioj.com/v/camkp
(pictures 1 and 2)
if i try connect with sql plus, all well.
command : select userenv('LANGUAGE') from dual; result: Connected to: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
SQL> select userenv('LANGUAGE') from dual;
*USERENV('LANGUAGE')
RUSSIAN_RUSSIA.CL8MSWIN1251*
in SQL DEVELOPER: (picture 3)
check\uncheck "Skip NLS Settings", nothing changed.
what the issue is?Then apparently it's still not getting the OS settings right; try to add these to \sqldeveloper\bin\sqldeveloper.conf (maybe region is enough):
AddVMOption -Duser.language=en
AddVMOption -Duser.country=US
AddVMOption -Duser.region=USHope that helps,
K. -
Connecting Oracle DB with SQL server
I need to connect an Oracle Data Base to a SQL Server throught a BPEL process. Somebody knows about a TUTORIAL or maybe other guide.....pls this is urgent.
ThanksReading you post, I asssume you want to select data from an Oracle database and pass this information to a BPEL processs. This process will store the data into a SQL Server database.
Create BPEL process, with two partner links, using the DB adapater. One partner link is using the Oracle databas, the other one SQL Server.
Therefore you must add/change your oc4j-ra.xml, to add an Oracle DB connection and an SQL Server connection: The file can be found at
$ORACLE_HOME\j2ee\OC4J_BPEL\application-deployments\default\DbAdapter
<connector-factory location="eis/DB/SampleSQLServerConnection" connector-name="Database Adapter">
<config-property name="driverClassName" value="com.microsoft.jdbc.sqlserver.SQLServerDriver"/>
<config-property name="connectionString" value="jdbc:microsoft:sqlserver://localhost\\sql2000:1433;SelectMethod=cursor;databasename=NAME"/>
<config-property name="userName" value="NAME"/>
<config-property name="password" value="password"/>
<config-property name="minConnections" value="5"/>
<config-property name="maxConnections" value="5"/>
<config-property name="minReadConnections" value="1"/>
<config-property name="maxReadConnections" value="1"/>
<config-property name="usesExternalConnectionPooling" value="false"/>
<config-property name="dataSourceName" value=""/>
<config-property name="usesExternalTransactionController" value="false"/>
<config-property name="platformClassName" value="oracle.toplink.internal.databaseaccess.SQLServerPlatform"/>
<config-property name="usesNativeSequencing" value="true"/>
<config-property name="sequencePreallocationSize" value="50"/>
<config-property name="tableQualifier" value=""/>
<config-property name="defaultNChar" value="false"/>
<config-property name="usesBatchWriting" value="true"/>
</connector-factory> -
Connecting oracle database with sql*net via VIP on Ace
Is there any way to get oracle Database traffic working only via the ACE Blade instead of using a firewall to do packet inspection.
The case is we have application servers in a DMZ wich should connect via a VIP to a Oracle database on port 1521.
Normally oracle negotiates the tcp ports wich it will use and a normal firewall will do an inspect and opens up the dynamic channel.
However on the Ace there is still no Inspect for Sql*net.
Everthing on routing and connection level works fine tnspings telnet to 1521 works fine. Only when using the application stack the dynamic ports needs to be used.
In our design a firewall in between this node's is at this moment impossible.
Any Ideas or examples how to solve this...ORA-27140: attach to post/wait facility failedThis is to do with filesystem permissions on $ORALCE_HOME/bin
Login as the 'oracle' account (or the account with which oracle binaries are installed.
goto $ORACLE_HOME/bin
chmod 6751 account_used_to_install -
Connecting Oracle forms 10g to SQL 2000?
Hi,
Can someone please help me connect oracle forms to sql 2000. I have searched online with no luck; however, I know oracle can use ODBC.
thanks,See
http://www.oracle.com/technology/products/forms/pdf/275201.pdf -
Connect Oracle Database with help of sql server storedprocedure
Hii,
Is there Any way to connect Oracle Database Using sql server storedprocedure.I want access oracle database and take some data and insert into my sql server database.so is there any way to connect in one
stored procedure to connect oracle database and take some data and insert in to my sql server database.
Nikunj NandaniyaHello,
I am getting below error when i kust Clic k on Test Connection in SSMS:
TITLE: Microsoft SQL Server Management Studio
The test connection to the linked server failed.
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle" for linked server "test".
OLE DB provider "OraOLEDB.Oracle" for linked server "test" returned message "ORA-12154: TNS:could not resolve the connect identifier specified". (Microsoft SQL Server, Error: 7303)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
BUTTONS:
OK
Can you please guide is there any other setting i need to do after install Oracle Client ?
Best Regards,
Tushar Malvi -
Hi
I have to connect oracle forms to sql server, as per documentation, I created a ODBC string for SQL SERVER, In connect dialog box for oracle forms I entered username, password and @ODBC_string:Database_Name in connect.
I am not able to connect. Please help me.
AvinashPerhaps your question is more suitable for the Forms forum:
Forms
There's APEX as well: http://www.oracle.com/technology/products/database/application_express/html/apex_for_forms.html
Maybe you are looking for
-
MacBook Pro update at startup not working properly rendering MacBook unusable.
My MacBook Pro loads an update at the grey screen then shuts off. When it turns back on it attempts to finish loading the update again. Is there a way to stop this update from happening at the startup screen at this time?
-
Possible to always display page number in footer on outside of facing page?
Is it possible to configure the page number in a footer to always display on the outside of the facing page?
-
HR_TMW_DB_UPDATE_TEVENT - storing failure records
Hi all, How can we store records which are not processed (insertion and updation failures) by the function module HR_TMW_DB_UPDATE_TEVENT . any sample code available ? regards senthil
-
Naming Collisions in Trusted Domains?
Hi all, I am trying to have two WLS instances communicate with each other via JMS. The basic setup is working but now I want to add security to it. After adding User rstrictions as policies to the Queues I received error messages on the remote instan
-
MP3 import fails after upgrade to Leopard
I've just upgraded to OS X 10.5 Leopard and Soundbooth will not import mp3 files. I just get a lot of clicking and humming through the speakers followed by Soundbooth just shutting down.