Synonyms and dblinks [message #360329] |
Thu, 20 November 2008 07:36 |
Srinandini
Messages: 13 Registered: November 2008
|
Junior Member |
|
|
Hi All
I have 2 databases say A and B
I have a few tables in database A that do not exist in databse B
But my Pl/SQL package has to be run across both these databases
So in database A
i created a public synonym for table T1 using the cmd below
create public synonym T1 for user1.T1@link1
(pls note that dblinks are already available)
Now if i try to access the table T1 in database B , i should not face any errors. Am i correct?
Please let me know if my understanding reg synonyms and dblinks is correct
Thanks in advance
Srinandini
|
|
|
|
Re: Synonyms and dblinks [message #360410 is a reply to message #360408] |
Thu, 20 November 2008 21:55 |
Srinandini
Messages: 13 Registered: November 2008
|
Junior Member |
|
|
Hi Kevin
thank you so much for the reply
for the table T1 which is in database A , if i try to access the table in databse B , am facing the problem
object does not exist
and other error is ora-600
Just wanted to know if my approach is correct or am going wrong anywhere.
thanks
Srinandini
|
|
|
|
|