Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Public Synonym Issue

User341075Feb 2 2011 — edited Feb 2 2011
Hi,

We've got the following Problem with Public Synonym and Dblink :




Database A (QCRM) :
---------------------------


Object :

PS_NAP_DELV_SHIP (Table)



DROP PUBLIC SYNONYM PS_NAP_DELV_SHIP;

CREATE PUBLIC SYNONYM PS_NAP_DELV_SHIP FOR PSSYS.PS_NAP_DELV_SHIP;



User : ERP_USER


GRANT DELETE, INSERT, SELECT, UPDATE ON PSSYS.PS_NAP_DELV_SHIP TO ERP_USER;




Database B (TERP) :
--------------------------


Database Link :


CREATE PUBLIC DATABASE LINK "CRMDB.BEZEQINT.CO.IL"
CONNECT TO ERP_USER
IDENTIFIED BY <PWD>
USING 'QCRM';



When Executing the following Sql*Statement from Database B , we've got the following Error :


SQL> select * from ERP_USER.PS_NAP_DELV_SHIP@CRMDB.bezeqint.co.il;
select * from ERP_USER.PS_NAP_DELV_SHIP@CRMDB.bezeqint.co.il
*
ERROR at line 1:
ORA-00942: table or view does not exist
ORA-02063: preceding line from CRMDB




Thank's in advance for your help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 2 2011
Added on Feb 2 2011
2 comments
202 views