SQLSERVER Db Link in Oracle
hi!
I want to create db link for sql_server in oracle. Any help?
regards
Irfan Ahmad
Hello,
You should set Oracle Heteregeneous Services. Please, find enclosed a link
about it (in Oracle 9i):
[http://www.oracle-base.com/articles/9i/HSGenericConnectivity9i.php]
Hope it can help.
Best regards,
Jean-Valentin
Similar Messages
-
Link server SqlServer 2008 R2 and oracle 8i
Hi,
I have many days trying to link a oracle 8i 8.1.6.3 AIX with SQLServer 2008 R2 64 bits.
I tested with ODAC: 11,10 and 9.
Any one can tell me any suggestions to do it? I read many articles and blogs and says not possible to do.
Some guys wroted in blogs articles that was succesful, but when I do the step by step dont work.
We cant update the oracle 8i 8.1.6.3 AIX, we cant shut down the system.
Kind regards.Just an update to this problem as I have had time to get round to looking at it again.
Installed MSSQL Server 2008 on a Windows XP 32 bit virtual PC.
Installed Oracle Instant Client, copied the TNSNAMES.ORA from the server above.
Set the Environmental Variables and rebooted.
Same BIDS package as in the original problem.
Only 8 seconds to run and transfer 39062 rows, roughly 4883 rows a second!
I am very curious about where the problem lies.
Is it a problem with the Oracle 64 bit drivers but while within the BIDS environment it should be using the 32 bit drivers?
The package did not run any faster when using MS SQL Agent to run the package where it would have used the 64 bit drivers.
I think I will leave this Virtual XP setup running on our Virtual Server Server to do the transfers.
I'd still like to know what the problem is and how to fix it.
So if anyone else has the same problem and solves it please post the answer here.
Thanks in advance
Simon -
To create a database link from oracle to sqlserver with NT authentication
Hi ,
I need to create a database link from oracle 9i to sql server database with windows authentication.I dont have the database username and password instead the access is given to my NT ID and password.So can anyone provide me the information about creating a dblink to sql server with windows authentication.
ThanksOracle is attempting to log in to SQL Server using NT authentication.
The Oracle process, however, is running presumably with a local admin account (normal for a Windows service). SQL Server has no idea what this local account is, so it denies the login.
You could change the Oracle service to run as a known user (presumably not as your Windows ID but some other Windows ID you create explicitly for Oracle) and then grant that Windows ID in SQL Server appropriate privileges. That would mean, though, that when you queried tables over the database link, you'd be using that new Windows ID's privileges on SQL Server, not your Windows ID's privileges.
As I've said, though, this is a general architectural limitation for a multi-tier architecture. The end system (SQL Server) generally has no idea who the end user (your Windows ID) is when that user is coming through a middle tier (Oracle). So it cannot apply end-user permissions to connections created by the middle tier.
Justin -
Hi,
What is the significance of group level data links in oracle reports?How is it different from data links that select column from each groups?
ThanksHi user;
Please check below and see its helpful:
[Link 1|http://download-west.oracle.com/docs/html/B10602_01/toc.htm]
[Link 2|http://www.oracle.com/technology/software/index.html]
[Link 3|http://download.oracle.com/docs/html/A73172_01/output/bawor_re.htm]
[Link 4|http://www.softwaregeek.com/reports-oracle-10g/p1.html]
Regard
Helios -
Problem with using database link from oracle 7 to oracle 9i
Hi To Every One
I have two oracle database oracle 7.3.4.0.1 and oracle 9i 9.2.0.1.0.
and the tns alias to connect to oracle 9i database is oracle9i and tns
alias to oracle 7 database is oracle7.I have no problem in connect to
these database using these tns aliases from either database.The tns
alias for oracle 7 is available in tnsnames.ora file of oracle9i and
tns alias for oracle 9i is available in tnsnames.ora file of oracle 7.
So there is no connection problem from each other.Connection is
working fine for each other but the problem with database links is
like this
Problem:
when i create database link from oracle9i user or public database link
from oracle9i for oracle7 user like this
SQL ORACLE9I >CREATE DATABASE LINK ORACLE7 CONNECT TO <ORACLE7USER>
IDENTIFIED BY <PASSWORD> USING 'ORACLE7';
OR
SQL ORACLE9I >CREATE PUBLIC DATABASE LINK ORACLE7 CONNECT TO <ORACLE7USER>
IDENTIFIED BY <PASSWORD> USING 'ORACLE7';
The links get created sucessfully but when i write command like
SQL ORACLE9I> DESC <ORACLE7USER_NAME>.<ORACLE7USER_TABLENAME>@ORACLE7
I RECEIVE A ORACLE ERROR LIKE
ORA-12663 SERVICE REQUIRED BY CLIENT IS NOT AVAILABLE ON THE SERVER.
OR IF MY COMMAND IS LIKE
SQL ORACLE9I> SELECT <FEILD_NAME> FROM
<ORACLE7USER_NAME>.<ORACLE7USER_TABLENAME>@ORACLE7;
I RECEIVE AN ORACLE ERROR LIKE
ORA-01002 FETCH OUT OF SEQUENCE.
ORA-02063: preceding line from ORACLE7
BUT IF I CREATE A LINK FROM ORACLE7 USER FOR ORACLE9I USER
IT WORKS FINE.
PLZ HELP ME WHAT IS THE PROBLEM THAT THE LINK FOR ORACLE 7 IS NOT WORKING WHEN
IT IS BEING CREATED FROM ORACLE9I.
Thank u.Oracle 9.2.0 does not support connectivity to Oracle 7. The newest version that will support this is 9.0.1.
-
Error during addition of external link to oracle BPM workspace
Hi All,
I just want to add an external link to oracle BPM workspace and I've followed this tutorial :
http://docs.oracle.com/cd/E28280_01/user.1111/e15175/bpmug_ext_apps.htm
but I am neither able to view the required, nor getting any error.
During deployment time I'm only getting this message :
Issues were encountered while parsing this deployment to determine module type. Assuming this is a library deployment.
I'm using the virtual m/c version : oel5u5-64bit-soabpm-11gr1-ps4-fp-Workshop-Exp_2
Please help me to resolve the issue.
Thanks in advance.What I meant to say is check the logs at the time you are getting the error since sometimes the logs can be huge in size
-
Why are most of the links on Oracle's site that relate to Java broken?
Why are most of the links on Oracle's site that relate to Java broken? For example, try searching for SocketChannel and then clicking on any of the returned links, in particular click on www.oracle.com/technetwork/servers-storage/ts-4222-159193.pdf.
This is the second time I have tried to search for Java information and both times found broken links.
Does anyone know where I can find more information on using a SocketChannel?Kayaman wrote:
user8252446 wrote:
Why are most of the links on Oracle's site that relate to Java broken?Because Oracle doesn't really care about Java and is hoping that it'll die off.Pretty sure Oracle cares about Java. They have a huge investment in it and would need to replace or discontinue a number of products that they paid quite a bit of money for.
On the other hand in might just be that they don't much about providing support that doesn't lead to revenue. Thus support contracts have a support channel while public links get little support. -
Oracle DB Link from Oracle to SQL Server
Dear buddies,
I am trying to create a dblink from Oracle to SQL Server.
This is my tnsnames.ora
sq =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=LOCALHOST)(PORT=1521)
(CONNECT_DATA=(SID=sq))
(HS=OK)
)This is my listener
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = sq)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_2)
(PROGRAM = hsodbc)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)initsq.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = sq
HS_FDS_TRACE_LEVEL = OFF
# Environment variables required for the non-Oracle system
#set <envvar>=<value>I have created my System DSN for sq with the appropriate values which works fine when I tested the connection.
These 2 databases are in different servers.
This is how I created the db link in Oracle
create public database link sq
CONNECT TO XXX IDENTIFIED BY "XXX"
using 'sq'
select "Column1"
from "Table1"@'sq';The error I receive is: ORA-01729: database link name expected
When I try to recreate the database link it tells me that: ORA-02011: duplicate database link name
I hope someone could guide me.
Thanks.C:\Documents and Settings\Administrator>tnsping sq
TNS Ping Utility for 32-bit Windows: Version 10.2.0.4.0 - Production on 16-AUG-2011 14:48:40
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
D:\oracle\product\10.2.0\db_2\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
C:\Documents and Settings\Administrator> -
Db link between oracle erp db (11.1.0.7 ) and sqlsever 2008 db
Dear Experts,
Kindy note that I am stuck in the below scenario.
We are trying to create a db link between oracle db - R12.1.1 + 11.1.0.7(SUN SPARC 64-bit). and SQL Server 2008 Installed on
Windows Server 2008 R2.
We are planning to integrate 3rd party application along with oracle erp.
Please advise.
Regards
Mohammed. Abdul MuqeetHi,
If this can be helpfull to you.
http://www.mssqltips.com/sqlservertip/1433/how-to-setup-linked-servers-for-sql-server-and-oracle-64-bit-client/
http://www.dbaglobe.com/2009/09/how-to-adding-linked-server-for-oracle.html
http://www.kodyaz.com/articles/create-oracle-linked-server-query-data-from-oracle-to-sql-server.aspx -
DB link between Oracle 9i and MS SQL server2000
Hi,
Is it possible to create a DB link between Oracle 9i and MS SQL server 2000.
If it is possible what are the different ways of creating it.
Is it possible without purchasing any propietery drivers.
Thanks,
RohitI've never seen any documents stating that the enterprise edition is a requirement for the heterogeneous connectivity ....
There are 2 ways to set up the connection with MS SQL - using generic connectivity driver (OLE DB or ODBC) or using the Oracle Transparent Gateway.
The generic connectivity is free and comes with Oracle DB - it has several limitations - for example you can't call MS SQL stored procedures from Oracle.
The Oracle Transparent Gateways are packaged , the MS SQL gateway is part of the Open System Gateways package ($15,000.00 per CPU license cost) and i has less restrictions.
Overview:
http://www.oracle.com/technology/products/oracle9i/datasheets/gateways/gateway_rel2_ds.html
http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96544/toc.htm
Chapter 4 - the Oracle Transparent Gateway
Chapter 7 - the free Generic connectivity.
Mike -
hi all
can anyone give me the link where oracle ebs certification and training is given?
i want to do the training and then give the exam
i am looking for training and certification in P2P,HRMS ,Discoverer
kindly guide meThe following certifications will help you to achive your required objectives.
HRMS
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=535
P2P (Implementation)
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=344
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=346
http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=347
Discoverer
You can easily learn discoverer with available Oracle guides.
For example:
http://www.oracle.com/technetwork/developer-tools/discoverer/overview/index.html -
Database link from oracle to db2
Can any help me to create a database link from oracle to db2. It would be greatful if you can provide me detail steps
<p>You don't give us much information to go on. What version of Oracle? What platform is DB2 running on? You might want to take a look at <b>this</b>. You might also look <b>here</b> and <b>here</b>.</p>
Tom -
Creation of database link from oracle to sql server 2000
Hi
I need to create a database link from oracle to sql server 2000.Assuming your Oracle database is running on Windows, you can set up a database link using ODBC using Heterogeneous Services and Generic Connectivity, but there are some functional limitations (i.e. no two-phase commits). If you can live with those limitations but aren't on Windows, you can generally purchase an ODBC driver for your operating system that will connect to SQL Server through someone like DataDirect and still use Generic Connectivity. If you cannot live with those limitations, you can purchase one of Oracle's Transparent Gateway products (though this can get somewhat pricey).
What version of Oracle are you on?
What operating system(s) are you using?
What are you going to use the database link for?
Justin -
Creating Database Link from Oracle to SQL Server
I am trying to create a database link from Oracle to SQL Server, and the documentation is about as clear as mud to me. Can anyone send me clear instructions on exactly what I need to do? What needs to be in tnsnames.ora and listener.ora files? Is there anything other than those two files that needs to be set up? Do I set up an ODBC connection? Anything else? I want to execute queries against a SQL Server database and load data into Oracle database.
Thanks so much,
SusanThese are the instructions from an old document I created. The steps are same for SQL Server and Sybase. Hope it helps.
The 9i Transparent Gateway Software is in Oracle Software CD -> oracle9i database -> Custom -> Oracle Transparent Gateways
The gateway can be installed on the same machine as the Oracle database or
on the Sybase server or on a third machine as a stand-alone.
We have installed the gateway software in one of oracle database
servers in a separate oracle home.
These are the steps involved in configuring a gateway to a Sybase database
1. Install Sybase client and Gateway software on the Gateway Server
2. Configure <initsidfile> in the Gateway Server's <gatewayhome>
/u00/app/oracle/product/9.2.0/tg4sybs/admin/init<gatewaysid>.ora
Sybase server and database information is required for this step.
eg: HS_FDS_CONNECT_INFO=USTRUD01.uwd
3. Add an entry in listener.ora in <listnenerhome>
(/u00/app/oracle/product/9.0.1/network/admin/listener.ora) for the <gatewaysid>
4. Edit the tnsnames file (/u00/app/oracle/product/9.0.1/network/admin/tnsnames.ora)
to add an entry <tnsalias> for the <gatewaysid>
5. Create a database link to the Sybase database in the oracle database.
The steps for creating the database link are
a. create a login oracle_tgw in the sybase server
b. add the user to the sybase database with the necessary privilege on the tables
c. create the database link in the required oracle database using the command
"create public database link <dblinkname> connect to oracle_tgw identified by password using 'tnsalias'; "
6. Restart the gateway listener. -
Create a Database Link from Oracle to MYSQL on windows
Hi
I need to create a database link from oracle to mysql database on windows to fetch some records.Can anyone help me on this?Search for Transparent Gateways, Heterogeneous Services...
The Oracle SQL Developer have drivers to Access, MySQL and SQL Server.
Maybe you are looking for
-
FCP6 crashes on opening a file
Had an issue with LEOPARD where it reset my scratch drive for FCP6 to my internal hard drive. On render and export to compressor the hard disc would just fill and was unable to proceed. So despite the preferences stating that for scratch to use the e
-
Compress to SD DVD from FCP 7.0
I have a project in FCP 7.0 that is made up of ProRes 422 (LT) footage that I just finished. I'm trying to get this to DVD. The footage is 1440x1080 30fps. Everything looks great in the time line. I've exported it to Quicktime twice using these setti
-
Block item in the purchase requisition
Hi expert, do you know some bapi to modify a purchase requisition item ? p.s. The modify consist to block only some item. tks a lot, bye.
-
How do you link a time dimension to the fact table? If the time dimension has a sequence as the PK then the following columns: year month quarter day time etc.. How is the fact table connected to the time dimension if the fact table has the primary k
-
Hi, I have EPMA 11.1.1.3 and after making some changes in account and location dimensions i started deploying the app.It was initialed at around 6pm..i informed by client that it usaully takes aroung 6 and half hours to complete the deployment but af