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 are 3 ways to get a count of the number of records in a table?

828


What are the differences between having and where clause.

711


What does ss stand for sexually?

794


What are the differences between “row_number()”, “rank()” and “dense_rank()”?

719


What is a bit datatype?

738






what's the difference between a primary key and a unique key? : Sql server database administration

687


What is a trigger and its types?

732


How to query multiple tables jointly?

712


How to get a list of columns using the "sp_help" stored procedure in ms sql server?

752


What are entities and relationships?

739


What are the different types of data sources in ssrs?

165


Is sql different from sql server?

691


Can you index views?

676


What is 2nf example?

728


What are basics of policy management?

829