abc 用户名
tablename 表名
def 实例名

解决方案 »

  1.   

    abc是schema,oracle中的模块,通常是指数据库的用户,def是oracle中的dblink,创建dblink用于配置数据库连接的别名,sql的意思是在查询def库中abc用户下的表
      

  2.   

    +1Oracle Database uses the global database name to name the schema objects globally using the following scheme:schema.schema_object@global_database_namewhere:schema is a collection of logical structures of data, or schema objects. A schema is owned by a database user and has the same name as that user. Each user owns a single schema.schema_object is a logical data structure like a table, index, view, synonym, procedure, package, or a database link.global_database_name is the name that uniquely identifies a remote database. This name must be the same as the concatenation of the remote database initialization parameters DB_NAME and DB_DOMAIN, unless the parameter GLOBAL_NAMES is set to FALSE, in which case any name is acceptable.For example, using a database link to database sales.division3.acme.com, a user or application can reference remote data as follows:SELECT * FROM [email protected];  # emp table in scott's schema
    SELECT loc FROM [email protected];
    If GLOBAL_NAMES is set to FALSE, then you can use any name for the link to sales.division3.acme.com. For example, you can call the link foo. Then, you can access the remote database as follows:SELECT name FROM scott.emp@foo;  # link name different from global name
      

  3.   

    select * from abc.tablename@def
    这个后面的是连接服务器的名字
      

  4.   

    扫盲了,oracle马上要用到,还不懂
      

  5.   

    +1Oracle Database uses the global database name to name the schema objects globally using the following scheme:schema.schema_object@global_database_namewhere:schema is a collection of logical structures of data, or schema objects. A schema is owned by a database user and has the same name as that user. Each user owns a single schema.schema_object is a logical data structure like a table, index, view, synonym, procedure, package, or a database link.global_database_name is the name that uniquely identifies a remote database. This name must be the same as the concatenation of the remote database initialization parameters DB_NAME and DB_DOMAIN, unless the parameter GLOBAL_NAMES is set to FALSE, in which case any name is acceptable.For example, using a database link to database sales.division3.acme.com, a user or application can reference remote data as follows:SELECT * FROM [email protected];  # emp table in scott's schema
    SELECT loc FROM [email protected];
    If GLOBAL_NAMES is set to FALSE, then you can use any name for the link to sales.division3.acme.com. For example, you can call the link foo. Then, you can access the remote database as follows:SELECT name FROM scott.emp@foo;  # link name different from global name

    +2   
     鸟语花香啊
      

  6.   

    select * from abc.tablename@defabc 指数据库中你使用的用户名
    abc.tablename 指用户abc的schema下面的某一个表名
    def 实例名,是数据库连接的别名。
      

  7.   

    select * from abc.tablename@def  
    ABC是SCHEMA 也可以说是用户名。TABLENAME是表名 DEF是DBLINK的名称 
    是你要访问DEF库下面的ABC.用户下的表
      

  8.   

    前面是用户名、后面是dblink