我应该如何解释“从a.b@a.c.d aliasRefForMe中选择不同的aliasRefForMe.field1", [英] How should I interpret "Select Distinct aliasRefForMe.field1 From a.b@a.c.d aliasRefForMe"

查看:97
本文介绍了我应该如何解释“从a.b@a.c.d aliasRefForMe中选择不同的aliasRefForMe.field1",的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Oracle模式表参考a.b@c.d.e aliasRefForMe-这是什么?

Oracle schema table reference a.b@c.d.e aliasRefForMe - what is this?

不确定这对Oracle select语句意味着什么.有人知道吗?

Not sure what this means for an Oracle select statement. Anybody know?

Select Distinct aliasRefForMe.field1 From a.b@a.c.d aliasRefForMe

两个问题:

  1. Select ... From a.b.c是在Oracle中的表之前表示一个模式和一个子模式吗?子模式甚至存在吗?

  1. Does Select ... From a.b.c mean a schema and a sub schema before the table in Oracle? Do sub schemas even exist?

a.b@a.c.d aliasRefForMe中的@是什么?

What is the @ for in a.b@a.c.d aliasRefForMe?

请注意,出于公司隐私的考虑,我更改了表格/方案名称.

Note that I changed the table/schema names for company privacy.

推荐答案

Oracle文档包括有关

The Oracle documentation includes a section on Syntax for Schema Objects and Parts in SQL Statements.

其中:

  • object是对象的名称.
  • schema是包含对象的架构...
  • part是对象的一部分.该标识符使您可以引用模式对象的一部分,例如表的列或分区...
  • dblink仅在使用Oracle数据库分布式功能时适用.这是包含对象的数据库的名称. dblink限定符使您可以引用本地数据库以外的数据库中的对象...
  • object is the name of the object.
  • schema is the schema containing the object...
  • part is a part of the object. This identifier lets you refer to a part of a schema object, such as a column or a partition of a table...
  • dblink applies only when you are using the Oracle Database distributed functionality. This is the name of the database containing the object. The dblink qualifier lets you refer to an object in a database other than your local database...

所以在您的示例中

Select Distinct aliasRefForMe.field1 From a.b@a.c.d aliasRefForMe

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆