Home » RDBMS Server » Server Administration » Creating DB Link
Creating DB Link [message #57749] Thu, 03 July 2003 07:27 Go to next message
Debraj Ghosh Dastidar
Messages: 44
Registered: February 2003
Member
Can anyone help me of providing me the
syntax of Creating db link with a example.
is it possible to use it in frontend like d2k?
if yes, then how? can provide me any example code.
i will be greatful. Thanx...
Debraj....
Re: Creating DB Link [message #57752 is a reply to message #57749] Thu, 03 July 2003 11:15 Go to previous message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
-- here i have used the convention of having
-- db link name same as service name ( tnsentry)
[b]create database link mylink[/b] --[i]this is db link name[/i]
[b]connect to userA identified by somepassword
using 'mylink';[/b]--[i]this is service_name[/i]
-- i will use the above link like
[b]select * from tablename@mylink;[/b]

Previous Topic: how to change 9i spfile back to pfile??
Next Topic: Recovering tablespace freespace after deleting records
Goto Forum:
  


Current Time: Fri Sep 20 13:50:14 CDT 2024