Database link between 8i and 7.3.2.3 servers
Hi all,
1 server
HP9000 : ORACLE 8i 8.1.5.0
O.S : hp unix
2 server
HP B132+ : ORACLE WG 7.3.2.3
O.S : hp unix
when i am trying to connect to the remote data base from
server 1
i am getting this error i.e ORA-12505:listener could not resolve SID given in connect descriptor
If i try from the
server 2
i am getting this
error i.e ORA-12154: TNS: could not resolve service name
The steps i have done
in both servers i have created database links and i updated
$ORACLE_HOME/network/admin/tnsnames.ora files
can anybody please solve this problem for me
with regards
a.ratna
null
ratna,
for the server 2 error... could not resolve service name. check your tnsnames file and make sure that SID(not the alias) in tnsnames matches with the SID given in database link.
"create database link test_link connect to scott identified by tiger using 'SID';
for error 1 make sure you have the entry of the server 2 SID in server1 tnsnames file.
good luck,
Similar Messages
-
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 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 -
MSDB Database - link between sysjobhistory and sysssislog
Hi,
I'm trying to use the full SQL Stack to store and schedule SSIS Packages. I've uploaded my SSIS package into the SSIS Package Store, I've configured the SSIS package to log using the SQL Provider (msdb database), and I've scheduled the package with SQL Server
Agent.
This has all worked ok, however, I'd like to write a report that allows you to interrogate sysjobhistory, and sysssislog to enable us to browse the logging that occurs when the package is executed.
I've managed to get a basic report together that draws the SQL Server Agent job history, but is there a way I could link the execution of the SQL Server Agent job (sysjobhistory) to an execution_id in the sysssislog table? Every time the agent job runs the
package, it appears to create an execution_id - is there some kind of mapping somewhere?
Also, how can I retrieve the package name from sysssislog?
Thanks.Nope. sysjobhistory is a more generic table which stores details of jobs as a whole. As such it wont have any details relating to execution context of packages.
If you're using SSIS 2012 it provides a set of standard reports which can be used for monitoring of SSIS packages
http://visakhm.blogspot.in/2012/09/easy-package-execution-monitoring-in.html
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
What is the link between PO and Requisition in database side
hello friends,
please can any one tell me that what is the link between PO and Requisition in database side. means after creating the requisition we will go for create the PO based on that requisition.
want to know that what is the link between both in database side.
Thanks in advance
krish.Hi,
The link is at distribution level, between:
PO_DISTRIBUTIONS_ALL.REQ_DISTRIBUTION_ID
and
PO_REQ_DISTRIBUTIONS_ALL.DISTRIBUTION_ID
Hope it helps. -
How to create database link between oracle9i database and oracle10g
How to create database link between oracle9i database and oracle10g
oracle9i database name "Prod" windows server 2003 ( 172.x.x.x)
oracle10g database name "TEST" sun solaris 9 (165.x.x.x.x)
Please help me on thisFor connections between 10.2 and 9.2 the 9.2 end MUST be at 9.2.0.4 or higher. Connections between 10.2 and 9.2.0.1, 9.2.0.2 or 9.2.0.3 are not supported.
Connections between 10.2 and 9.0.1 was never been supported.
Cheers !!!!
Bhupinder -
How to create database link between 2 servers to exports schemas
Could any one please give Steps to create database link between 2 servers (linux) to exports schemas like AR, INV, GL.......etc
Hi Mouni,
As i suggest above, please use the REMAP_SCHEMA parameter, so that you can create those objects which are getting created in the Apps Schema in the XBSI schema, I have already provided the syntax above.
ORA-31684: Object type VIEW:"XBSI"."XBSI_ORDER_LINE_INFO_V" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_SERIAL_NO_V" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_ONHAND_BALANCES" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_PURCHASE_ORDERS" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_ORDER_HEADER_INFO_V" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_ORGANIZATION_ITEMS" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_PE_FIND_RESULT" already exists
You are facing these errors as you have already done the import, and when you try to re-import it says those objects are already available. If this fresh import, Please drop the the new user you have already created in the Datawarehouse instance, and recreate the User and start a fresh import.
Hope this help!
Thanks &
Best Regards, -
Database link between the databases with the same name
Hi,
I need to establish a db link between two databases that are named the same way on two different servers.
server 1 has a database dev1 and server2 has a database dev1. The tnsnames on server2:
DEV1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server2)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DEV1)
DEV1_server1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dev1)
Can anyone let me know a way to create a database link between the two above?
Thanks.Hi,
Am not sure what problem you are facing in creating a db link
create database link dev1_server1 connect to x identified by x using "dev1_server1"
create database link dev1_server2 connect to x identified by x using "dev1_server2"where dev1_server1 and dev2_server2 are the tns entry in tnsnames.ora file of server2 and server1 respectively.
Regards
Anurag -
Link between LANDSCAPE AND R/3
hi gurus i have doubt. that what is the difference between DEV,QUALITY AND PRODUCTION SERVERS AND DATABASE, APPLIACATION, PRESENTATION.
initailly while we are in implementation we use DEV,QUALITY AND PRODUTION.
after impllementation DATABASE, APPLICATION AND PRESENTATION comes into picture. so in landscape good configuration sits in production server. so for end user point of u PRODUCTION SERVER WILL BECOME DATABASE SERVER OR NOT. pls tell me the link between landscape and R/3.
will rewardHi Krishna,
I think you are trying to mix 2 questions.
Well you can frame the questions like this:
1) Difference between Development, Quality and Production Servers
2) Database, application and presentation layer.
Well the point1) refers to Landscape. What happens is when are working for any end to end implemetation or support project we need certain instances so we can have instances like Development, Quality and Production. we have got different instances because we need to test whether the changes made are working as per the requirements.
Point 2) refers to R/3 technology.
SAP R/3 is based on a three tier client/server technology. Typically, it is made up of three functionally distinct layers namely: the user interface, business logic and database.
The user interface, which is otherwise known as the presentation server displays the interface for users' communication with the SAP system. It is often referred to as the SAP GUI. As a matter of fact, it is a program called sapgui.exe. The application server is where the business logic and data manipulation takes place. Data processing, SAP administration tasks and client request/feedback management are handled within the business layer. The database layer is synonymous to the database server and it typically acts as a data repository for tables and other database objects and structures.
Ideally, an R/3 system is composed of one database server, one or more application servers and one or more presentation servers.
Hope this helps you.
Do award points if you found them useful.
Regards,
Rakesh -
Hi expert,
I have a strange problem here.
One person is not selected from RPCIPE00 because he has no link between CP and PERNR in HRP1001.
Then on the Get PERSON, program goes directly to End-of-selection.
I rebuilt it manually with SE16N with relation B209, the records are OK but it doesn't work
Do you have a solution to rebuilt the relation? Is there something missing?
TkxWhen a personel number is created automatically the
system creates in background a central person (object CP) and
a relation is done between the personel number (P) and the central
person (CP) via the database table HRP1001.
By creating personel numbers using the transaction PA40, the CP
is created automatically.
For the personel numbers where the CP is missing, the report
RPU46CX_CENTRAL_PERSON_ONLINE can be used. This report will
create the missing relationship. -
Hi,
i created a dblink from 8i to 9i.
some simple query can be executed successfully:
select * from tablename@dblink
However, when use join method. It prompted me with following error:
ORA-02068:following servere error from dblink
ORA-03113: end-of-file on communication channel
does anyone know how to correct it??
Many thanks,
TommySubject: Client / Server / Interoperability Support Between Different Oracle Versions
Doc ID: Note:207303.1 Type: BULLETIN
Last Revision Date: 26-OCT-2005 Status: PUBLISHED
Oracle Client / Server Interoperability Support
Introduction
This note gives a summary of the support for interoperability between Oracle client and server versions. This includes support for connections over database links between Oracle versions. Note that this relates to support for investigation of defects / ability to obtain bug fixes.
For a summary of the support status of each Oracle release see Note 161818.1
General Policy
Oracles general policy is to test and support each new Oracle release for compatibility with older releases thus:
Test the NEW client to each OLDER server release where the OLDER release is still covered by Premier Support (formerly Primary Error Correction support) at the time that the NEW version is released.
Test OLDER clients to the NEW server release where the OLDER release is still covered by Premier Support (formerly Primary Error Correction support) OR is in the first two years of Extended Support (formerly Extended Maintenance support).
Tests between the NEW version and other OLDER releases may be added where Oracle deems it sensible to support interoperability between those releases.
Current Interoperability Support Situation
The matrix below summarizes client and server combinations that are supported.
New interoperability problems will only be investigated if BOTH releases involved are covered by a valid support contract at the time that the issue is reported .
eg:
An 8.1.7 client to a 9.2.0 server issue requires the customer to have a valid Extended Maintenence support contract for the 8.1.7 client in order for Oracle to investigate it.
Server Version
Client Version 10.2.0 10.1.0 9.2.0 9.0.1 8.1.7 8.1.6 8.1.5 8.0.6 8.0.5 7.3.4
10.2.0 Yes Yes Yes #5 No EMS No #3 No #3 No #3 No #3 No #3
10.1.0(#4) Yes Yes Yes Was EMS #2 No #3 No #3 No #3 No #3 No #3
9.2.0 Yes #5 Yes Yes Was EMS No No Was No No #1
9.0.1 No Was Was Was Was Was No Was No Was
8.1.7 EMS EMS EMS Was EMS Was Was Was Was Was
8.1.6 No No No Was Was Was Was Was Was Was
8.1.5 No No No No Was Was Was Was Was Was
8.0.6 No No Was Was Was Was Was Was Was Was
8.0.5 No No No No Was Was Was Was Was Was
7.3.4 No No Was Was Was Was Was Was Was Was
Key:
Yes Supported
EMS Supported for customers under Extended Maintenance (EMS) only.
Was Was a supported combination but one of the releases is no longer covered by any of Premier Support , Primary Error Correct support or Extended Maintenance Support so fixes are no longer possible.
No Has never been Supported
Specific Notes:
#1 - See Note 207319.1
#2 - An ORA-3134 error is incorrectly reported if a 10g client tries to connect to an 8.1.7.3 or lower server. See Note 3437884.8 .
#3 - An ORA-3134 error is correctly reported when attempting to connect to this version.
#4 - There are problems connecting from a 10g client to 8i/9i where one is EBCDIC based. See Note 3564573.8
#5 - For connections between 10.2 and 9.2 the 9.2 end MUST be at 9.2.0.4 or higher. Connections between 10.2 and 9.2.0.1, 9.2.0.2 or 9.2.0.3 are not supported.
General Notes:
For database links between different Oracle versions connections must be supported in BOTH directions in the matrix above.
eg: As 9.2 -> 7.3.4 is not supported then database links between these version are not supported in either direction.
Unsupported combinations may appear to work but can encounter errors for particular operations. The fact that they appear to work should not be relied upon - issues on unsupported combinations will not be investigated.
Since new database servers are compatible with a limited set of older OCI clients, it may not be necessary to upgrade the client software when upgrading the database. However, some new features may not work without upgrading the client software. So, for example, an Oracle 7.3.4 client is able to connect to an Oracle8i database, but is not able to take advantage of newer features such as Transparent Application Failover (introduced in v8).
Oracle Applications , or other Oracle products, may have supported configurations not listed in the matrix above.
The matrix above also applies between different platforms and between 32/64 bit releases of Oracle client / server except where any Oracle platform desupport notice indicates otherwise .
Terminology -
DB LINK between XE and 11g instances
Hello ,
I am facing the following problem.
I have 3 databases instances on 3 servers on is Xe,the second is 10 R2 and
the third instance is 11g.
I have create db link between Xe and 10g and vice-versa (10g and Xe)
the db links in the two senses are working fine.
But i could not create db link between xe and 11g nor between 11g and Xe.
I will give some detail
On Xe dblink pointing to 11g , when accessed give the message :
"ORA-01017 : Invalid username/password;logon denied ORA-02063 preceding db11g"
i am sure that user name and password i give in db link creation are correct and tried it many times.
From the other side
On 11g dblink pointing to Xe instance when ,accessed give the folowing result :
i could access some table (select * from t1@dbxe)
but some times i got message : "Internal server Error" for the same select on the same table.
When i try to access fonction f1 on dbxe from 11g instace , i got the message
"ORA-04052 : Error when quering remote object f1@dbxe ORA-00604.."
Does any body have some idea about the issue ?
thanks in advance.Is your 11g database configured to use case-sensitive passwords? If so, are you specifying a case-sensitive (quoted) password in the creation of your database link?
Joel -
Link between RCV_SHIPMENT_LINES and WSH_NEW_DELIVERIES
Hi all,
Can anyone tell me the link between RCV_SHIPMENT_LINES and WSH_NEW_DELIVERIES tables,
i am not able to link these tables as this join includes few other tables in the from clause.
and it is very urgent - Appreciate your help.
Thanks in advance
-RagulNo, we can't as we don't have your database and tables.
And there is no urgent questions on the forum.
"urgent" suggests that you have a live system that has failed, or that people's lives are at risk, in which case it relates to a commercial system. Such commercially critical support is provided by Oracle Support, not the public forums that are manned by volunteers with their own jobs to do. It's very rude to suggest your question is more urgent than other people's or that the volunteers should urgently deal with your issue. It's a sure way of ensuring that you will not get quick answers to your question, as many people will either ignore it on purpose or give you abuse for saying it.
Re: 2. How do I ask a question on the forums? -
Tonight, I was making an address list of Club Members, using NUMBERS, instead of a DATABASE. In one of the columns I was entering their E-mail addresses. Even before I finished typing the address, the Apple Mail opened up and was waiting for me the verify the address. It seems there is some kind of a link between Numbers and Mail.
Has this happened to anyone else?Open your address book and drag a whole group into a blank space on a numbers sheet.
You will get Last Name, First Name, phone number and email address already in a table. Just add anything else you require.
Lots of neat shortcuts in Numbers -
Link between Delivery and Sales Order Schedule Line
Hi Gurus,
I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
Report should be something like this
Sales Order Item Schedule Line Delivery Del Item Confirmed Order Qty
O1 10 1 D1 10 5
O1 10 2 D2 10 5
O1 10 3 D3 10 4
How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
Please help.
Regards,
GauravHi,
I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
Sale order Item Schedule line qty
SO1 Item1 Sch1 10
SO2 Item1 Sch2 10
Delivery Item QTy
DO1 IT1 15
DO2 IT1 5
In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
So I am not sure if you can establish a one to one link, please check with your SD consultants.
Regards,
Ashwin G
Maybe you are looking for
-
WebI Report not printing correctly
Hi, I've a WebI report for whcih the page layout is set as Letter and orientation set as Portrait. when I export this report and try printing it, the print preview shows that single report page is coming up in 2 pages while printing. however when I s
-
Reply button has no effect, can't reply
I posted a question about Final Cut 7 and got an excellent reply. However, after logging in to offer my thanks and more information about the answer, the reply button seemed dead to the world. I can clip the reply button but nothing happens. Anyone w
-
ITS A BLUE SIGN WITH A MUSIC SYMBOL ON IT.
-
The Daily Manager App keeps printing to my printer even though I never signed up for this. I want it to stop printing. Please help This question was solved. View Solution.
-
Can I map different levels of a hierarchy to different sources
Hi, I want for AWM not to aggregate the upper levels of a dimension by itself. Instead, i want to feed the data for upper levels also through different sources. Its becauese, the measure values of my dimension can not be aggregated from lower level.