I have a public database link that doesn’t have any uid/pass mentioned. I need to use it in a query but after giving uid/pass.
Something like,
select * from uid/pass.tbl_comp@link_name
what can i do?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As you said,there was no UID and Pass given for a Database Link,then you can use that link as Connected SYSTEM user,where Connected user is defined as:
And there are other type of Users category who can use the same link by supplying different parameters while querying the database link,for which you can further read on for usage of Select command with DB link at bottom of this link page:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/ds_concepts002.htm
Some Description about Database Link,if you read this before,then please ignore it:
Example:-