Skip to content
April 30, 2012 / doganay

HOW TO CLEANUP GRID CONTROL AGENTCREATE a DATABASE LINK USING HOST:PORT/SERVICE SYNTAX

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

(10.2 onwards)

<pre>

SQL> create database link doganay_link connect to remote_user identified by remote_pass using 'remote_host:remote_port/remote_service_name';

Database link created.

</pre>

* If you give port  as null, it’s default is 1521:

<pre>

SQL> create database link doganay_link connect to remote_user identified by remote_pass using 'remote_host/remote_service_name';

Database link created.

</pre>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: