473,382 Members | 1,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Oracle dblinks

1
Hi everyone,
I'd like to ask if I can create a database link from A to B and then create a new one from B to A, because when I create the second one and try to connect via it I receive this message:
TNS:could not resolve service name
Any suggestions how can I fix this problem???
I should say that the first link is working perfect.
Please write to me at my e-mail: kristian.shahinian@gmail.com.
Thanks in advance!
Jul 29 '06 #1
3 6040
rkumar
1
hi,

Please help me how to get the out put through procedure from parameter in oracle where out parameter is ref cursor.
Aug 3 '06 #2
Make sure there is a tnsnames entry for the database you are trying to link to on each of your database servers.
Aug 4 '06 #3
hi,

Please help me how to get the out put through procedure from parameter in oracle where out parameter is ref cursor.
Here is an Example:

create or replace package my_package
as
type ref_cursor is ref cursor;
end my_package;

create or replace procedure my_procedure (i integer , my_cursor in out my_package.ref_cursor)
as
begin
open my_cursor for select * from obj_m_actor where m_actor_n_id >= i;
end my_procedure;
Aug 6 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Jan Bols | last post by:
I've been trying to install Oracle 8.1.7 on a fresh Mandrake 9.1 O.S for days, but I'm still not able to get it running. I've tried several install instructions that I found on the internet but no...
3
by: jcwhui | last post by:
Hello all, Yes, it is another Oracle 8.0 question. We are just too small to force our customer to migrate to newer Oracle. My problem is I need to copy the value of the long column in table A...
2
by: Jane | last post by:
Hi All, I created a DBLINK on a 9i server to a 7.1.4 server. CREATE DATABASE LINK my_link CONNECT TO rem_user IDENTIFIED BY rem_pwd USING 'my_tnsentry'; - But when I query through the link...
0
by: Royco | last post by:
Hi, Situation as follows - a C++ component with OCI-calls running under the control of COM (w2k) - component is marked transactional - the component connects to database1 but wants to update...
11
by: Mark A | last post by:
Here is Mark Townsend's (Oracle Product Manager) explanation and justification for posting in the DB2 newsgroup, as posted on the Oracle newsgroup, and my response: "Mark Townsend"...
13
by: Chris Botha | last post by:
The machine is running XP Pro with all the latest service packs, etc. I must access an Oracle database so I installed the Oracle client stuff. I can query Oracle from a Windows app, no problem....
2
by: Ruslan A Dautkhanov | last post by:
Hello ! I'm about to install O9i on FreeBSD box. uname -a: FreeBSD stat2.scn.ru 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #2: Fri Apr 23 19:19:43 KRAST 2004...
0
by: Jack | last post by:
Training Classes for Oracle10g, 9i, 8i Certification training in Oracle10g and 9i: DBA, Developer, Discoverer. training conducted at your location worldwide. Courseware licensing also available....
0
by: Winder | last post by:
Training Classes for Oracle10g, 9i, 8i Certification training in Oracle10g and 9i: DBA, Developer, Discoverer. training conducted at your location worldwide. Courseware licensing also available....
1
by: aigoracle | last post by:
Hi, i have a problem where i have a procedure which returns a refcursor as OUT parameter. CREATE PROCEDURE ABC(policy_dt IN DATE, transactionRS OUT REFCURSOR) as begin
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.