tags:

views:

738

answers:

3

What is the '@' symbol mean in Oracle? here is an example

select * from question_answer@abcd where id = '45'

+1  A: 

It specifies a link to another database. See CREATE DATABASE LINK.

Tony Andrews
+4  A: 

It refers to a non-local table, the bit behind the @ is the db descriptor.

select * from question_answer@abcd where id = '45'

Means select not from the local question_answer table, but from the table on the db desingated as abcd. The keyword to google for is dblink

+7  A: 

This is the syntax for accessing a table via a database link called "abcd" See the documentation for CREATE DATABASE LINK, or to see the defined db links:

SELECT * FROM all_db_links;
tardate