The name of every database object is an identifier. In the sample queries used in this documentation, database objects from the sample database are generally referred to using only their identifier. For example:
SELECT * FROM Employees; |
Tables, procedures, and views all have an owner. The GROUPO user owns the sample tables in the sample database. In some circumstances, you must prefix the object name with the owner user ID, as in the following statement.
SELECT * FROM GROUPO.Employees; |
The Employees table reference is qualified. In other circumstances it is enough to give the object name. This section describes when you need to use the owner prefix to identify tables, views and procedures, and when you do not.
When referring to a database object, you require a prefix unless:
You are the owner of the database object.
The database object is owned by a role that you have been granted.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |