How make remote connection in database?

Answer Posted / kalyana chakravarthy maddipati

You can make a remote connection in a database using DBLINK(Database link). it is a named object in the database.
To create a DBLINK this is the syntax

Create dblink XX(DBLInk Name) connect to USERNAME identified by PASSWORD using DATABASENAME.

To access data from remote place using DBLink this is the way

select * from table_name@xx(DBLink name).

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a View ? Can we insert, Update and delete a view?

813


List the advantages of using stored procedures?

776


Explain what is lock escalation?

813


Can two tables share a primary key?

750


Are semicolons required at the end of sql statements in sql server 2005?

767


What is built-in function?

742


How to find Duplicate Records In table?

791


How to create a view and a stored procedure in ms sql server using "create view/procedure" statements?

748


what is a default tcp/ip socket assigned for sql server? : Sql server database administration

801


What are the different types of stored procedures?

838


How do I create a stored procedure in sql server?

726


What is delete query?

738


What are the different types of normalization?

862


Do you know how to implement service broker?

728


A trigger can reference objects outside the current database? State true or false.

780