If database is on the same machine(linux/window):
conntion string : 'sid'
Query to use:
>>CREATE DATABASE LINK linkName CONNECTED TO username IDENTIFIED BY password USING 'sid'
where
sid: service id or host string of the databaes
conntion string : 'sid'
Query to use:
>>CREATE DATABASE LINK linkName CONNECTED TO username IDENTIFIED BY password USING 'sid'
where
sid: service id or host string of the databaes