DB Link between Oracle 10g and Oracle 9i
Hi all,
Please help me to set the dblink between oracle9i and oracle10g.
Thanks in advance
Regards
K. Mahipal Reddy
Well... it depends on what type of link you wish to create.
If you have same user with same password on both databases (9i and 10G), then you can create a public database link as
CREATE PUBLIC DATABASE LINK dblink USING 'dbalias';
Note: dbalias is the value from your TNSNAMES.ORA. The database from which you are creating the db link has to have the entry in TNS for other database.
Other method is to create a private db link
CREATE DATABASE LINK dblink CONNECT TO user IDENTIFIED by pwd using 'dbalias';
The number of open connections from a particular database is governed by init parameter DB_LINKS (this was in 8i.. not sure about higher versions)
HTH...
Message was edited by:
satishkandi
Similar Messages
-
How to create database link between oracle and SQL Server
Hello Everyone,
Here i have Oracle Database 9i and SQL Server 2005 databases.
I have some tables in sql server db and i want to access from Oracle.
How to create a database link between these two servers
Thanks,Thanks for Everyone,
I was struggle with this almost 10 days....
I created Database link from Oracle to SQL Server
Now it is fine.........
Here i am giving my servers configuration and proceedure how i created the db link...@
Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
Machine (1)
DB Version : Oracle 9.2.0.7.0
Operating System : HP-UX Itanuim 64 11.23
IP : 192.168.0.31
Host : abcdbt
Machine (2)
Version : SQL Server 2005
Operating System : Windows server 2003 x86
IP : 192.168.0.175
Host : SQLDEV1
User/PW : sa/abc@123! (Connect to database)
Database : SQLTEST (exsisting)
Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
Prerequisites in Machine (2):
a) Oracle 10g software
b) User account to access SQL Server database (sa/abc@123!)
c) Existing SQL Server Database (SQLTEST)
d) Tables (testing purpose) (T)
Steps:
1) Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
2) Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
You can follow this link also.....
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
I created DSN as
DSN name : SQLTEST
User : SA/abc@123! (Existing user account)
Host : 192.168.0.175 (machine 2)
Already I have 1 database in SQL Server with the name SQLTEST
You can create DSN with different name also (not same as db name also)
3) Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
Create init<DSN NAME> file
Ex: initSQLTEST
Copy inithsodbc to initSQLTEST
And edit
initSQLTEST file
HS_FDS_CONNECT_INFO = SQLTEST <DSN NAME>*
HS_FDS_TRACE_LEVEL = OFF*
save the file....@
4) Configure Listener.ora *(Machine 2)*
LISTENER_NEW =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
SID_LIST_LISTENER_NEW =
(SID_LIST =
(SID_DESC =
(SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
(ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
(PROGRAM = hsodbc))
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
(PROGRAM = extproc) )
:> lsnrctl start LISTENER_NEW
5) Configure tnsname.ora *(Machine 2)*
SQLTEST11 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = SQLTEST))
(HS=OK)
:> tnsping SQLTEST11
If No errors then conti….
6) Configure a file *(Machine 1)*
Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
Create a file
$ vi TEST_abcdbt_ifile.ora
something=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
(CONNECT_DATA=
(SID=SQLTEST))
(HS=OK)
$ tnsping something
$ sqlplus system/manager
Your connected to Oracle database *(machine 1)*
create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
select * from t@xyz;10 rows selected.
Thanks,
Edited by: ram5424 on Feb 10, 2010 7:24 PM -
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 -
Please, can you explain me the link between oracle and java.
The link b/w oracle and java is through
driver.
Driver name :JDBC -
Link Between Oacle Payroll and Oracle Payables
Hi,
We have installed Oracle Payroll and OraclePayable.
I would like to know the link between Oracle Payroll and Oracle Payable i.e. If i run a Payroll process, does the same affect a Cheque Payment that i can see in Oracle Payable?
Can the same Payment format be used by Payroll and Payable?
If i use International HRMS, can i reconcile Payroll with Cash Management, as the GL Cash account field is not enabled for International HRMS on the Organisation Payment method screen?
Thanks in Advance.
Regards,
Anish DanielHi,
We have installed Oracle Payroll and OraclePayable.
I would like to know the link between Oracle Payroll and Oracle Payable i.e. If i run a Payroll process, does the same affect a Cheque Payment that i can see in Oracle Payable?
Can the same Payment format be used by Payroll and Payable?
If i use International HRMS, can i reconcile Payroll with Cash Management, as the GL Cash account field is not enabled for International HRMS on the Organisation Payment method screen?
Thanks in Advance.
Regards,
Anish Daniel -
Database link between oracle and sql server
dear all,
i m a newbie to oracle and i need your help to know how to create a database link between oracle and sql server.my oracle version 10.2.0.3 and platform is redhat linux 5.7.your help appreciated.
thanks in advance.[oracle@localhost ~]$ rpm -qa | grep -i odbc
php-odbc-4.3.9-3.15
unixODBC-kde-2.2.11-1.RHEL4.1
MyODBC-2.50.39-21.RHEL4.1
postgresql-odbc-7.3-8.RHEL4.1
freeradius-unixODBC-1.0.1-3.RHEL4.3
qt-ODBC-3.3.3-9.3
unixODBC-devel-2.2.11-1.RHEL4.1
unixODBC-2.2.11-1.RHEL4.1
is this showing odbc installed in os? -
How can i create link between ipad(xcode) and webserver?
Hi, I'm a new to iPad development and i need help,
i'm not good with english but i try to explain my question:
how can i create link between ipad(xcode) and webserver?
(the webserver ".NET" with driver odbc is connected with DB Oracle)
so, how can my ipad application access to the Oracle DB?
Create a webservice (.NET) to be place between iPad and DB, is this correct?
how can i do it?
which are libraries to include in the xcode's framework?
thxI think the following URL will be your best answer:
http://stackoverflow.com/questions/3510468/connecting-iphone-to-an-odbc-database -
Link between Schedule lines and delivery quantity
Hi all,
At the item level in a sales order, can anyone tell me the link between schedule line data and delivered quantity.
Schedule line data can be found in VBEP and delivery qty can be found in LIPS. But I want the link between the two. For which partcular date in the schedule line item the delivery qty is displayed.
Thanks in advance.Hi Amol and Rahul,
Actually I dont want the link between sale order and delivery, I want the link between schedule line dates and delivery qty.
Hope I am clear.
Thanks in advance.
Edited by: Rajini R M on Sep 11, 2008 6:12 AM -
Is there any link between movement types and documents
hi
is there any link between sales doc and movement types ?
is it the only source dependig on schedule line movement type will determined?
if with out order we are doing delivery how system will determine movement type
Thanks in advanceHi,
Deliveries that are created without reference to order , contained movement type because to process a delivery you need to have some of the control criteria that are copied from sales document header to delivery document header, as system processes delivery in that way ,that is why you will find default order type is assigned to the delivery document type ie DL. .which helps the delivery document to process without reference to sales document.
In Addition to above information,
In VOV4,
DL+ NORM + + -DLN
In VOV5,
For Itemcatagory DLN+ --CN
From this schedule line category CN,movement type 601 is taken during without reference to order delivery creation.
MCM -
Link Between Service Notification and Sales Order
Hi All,
In our business process, we will create sales order from Service Notification and we can see the same in the Document flow. But when i check in the VBFA table, there are no entries. I would like to know how the document flow is updated without updating the VBFA Table or is there any other table gets updated for this flow.
Please guide me.
With Regards
Vinu.NHello Vinu
For one Sales Order # figures in Notification header table- VIQMEL-VBELN.
Similarly Notification # figures in Sales Order Header table- VBAK-QMNUM
That is a solid link right there.
I Also guess technical objects like Equipment, Serial number also form link between the Sales and Service Documents.
Also check out the logic in document flow program RIBELF20, may be it will give you the clues to the problem.
Hope this helps. -
Link between process order and sales order for planning strategy 52
Hello,
I investigate the possibility of a link between "sales order" and "planned order / process order" for the usage of planning strategy 52 (planning w/o final assembly, make to stock).
I know, this is not conform to the basics of planning strategies (EITHER make to order OR make to stock) and I suspect it would be a modification. Of course we have the alternative "make to order" - strategy 50, but we do not want to use individual customer stocks.
Is anybody there with similar customer requirements or project experiences?
Thanks in advance,
Joerg
Message was edited by:
Jörg DemtschukHi Jorg,
To my understanding if you need hard pegging then in SAP only Individual requirement is possible.
Or else you need to create a custom transactions/table to identify Sale order and when ever a process order is created by selecting the sale order record, the process order detials should also get updated against that.
You need to take the help of ABAP expert for this,
Regards,
Prasobh
Reward points if this was useful -
Link between Credit Memo and Dispute Case
Hi,
Please help me. How to Link between Credit Memo and Dispute Case
Thaks,
Vinod.Linking a credit note has nothing to do with EHP4 or 5. You have to do a config sertting:
Dispute Management-Process Integration with Accounts Receivable Accounting-Assignment of Open Credits and Payments-Activate Assignment of Open Credits and Payments
And make sure the business adapts the correct process: When you reverse a charge on a debit invoice you have to make sure the credit is properly linked to the debit note.
If this is the case then the credit will show up in the dispute case.
Rgds,
Richard -
Link between Purchase order and Attachment list
Hi All,
I got a requirement like Purchase orders are from moved from one system to another system.There was a bug in BDC program
so some Attachment list of the purchase orders are not moved properly to the another system.
Now my client want a report to generate the Purchase orders which is having attachment list.
I did not find any table link between Purcahase order and Attachment list.
So Plz provide me the link between purchase order and attachment list.
Thanks,
RamYou mean service for object services?
if yes then u have to create one custom report for Generic Object Services ( like notes , attachment , url ) -
Link between EKKO, EKPO and KONP
Hi,
can someone help me out to trace the link between EKKO, EKPO and KONP tables?
regards,
ravi.Hi Ravi
KONP is conditions table.
If we need the conditions(prices) of a purchase order, we can get it from EKKO, EKPO & KONV.
1. Extract KNUMV from EKKO.
2. Using EKKO-KNUMV - Extract conditions from KONV where KONV-KNUMV = EKKO-KNUMV.
3. We can find item prices where KONV-KPOSN = EKPO-EBELP.
Hope this helps you.
Kind Regards
Eswar -
Table link between contract document and billing document
Hi,
Please let me know the table link between contract data and its billing plan nnumber.
Regards,
bhaarathi.VBKD is the Table name
if Ordertype "G" <--- that means It is a contract
From VBAK and VBAP you can get the Contract Details for the Order Type "G"
Go to Table VBKD, with the contract and get the billing plan .
FPLNR <--- is the Billing plan
Here you get the relation Between Contract and Billing Plan
Maybe you are looking for
-
How do I get rid of the new toolbar that was added by versions 20 and 21?
I have tried both versions 20 and 21 and both have the bugs below so I ended up having to re-install version 19: 1.) Versions 20 and 21 add a new toolbar that has nothing but a "Firefox" button on it - and no way to get rid of this toolbar is provide
-
Hi there, I have a big problem and I hope there is somebody who could repair my Word-Document (or at least save the text somehow). After my flash drive crashed, I used a data restoring software and managed to get back this important Word-File, but no
-
Please help me center align my website
My site seems to be left aligning.. Which looks really strange.. I built it in Adobe Muse.. What do I need to do to get it to be in the center of the browser? My site. http://www.reach-it-and-wash-it-finance.com
-
How to access the images stored in folder which is kept inside theapplicati
Iam new to java.. I want to display the images (.jpeg,,.gif, flash) which are kept in one folder Using Jsp... Its Executing fine in local system.. Its not working 1)when i execute that jsp from other system 2)if i give the full url then only its exec
-
hiho, my hardinfo benchmark results: CPU Blowfish CPU Blowfish This Machine 800 MHz 7,602 Intel(R) Celeron(R) M processor 1.50GHz (null) 26.1876862 PowerPC 740/750 (280.00MHz) (null) 172.816713 CPU CryptoHash CPU CryptoHash This Machine 800 MHz 174,4