Within a namespace, no two objects can have the same name.
# The following schema objects share one namespace:
- Tables
- Views
- Sequences
- Private synonyms
- Stand-alone procedures
- Stand-alone stored functions
- Packages
- Materialized views
- User-defined types
# Each of the following schema objects has its own namespace:
- Indexes
- Constraints
- Clusters
- Database triggers
- Private database links
- Dimensions
Because tables and views are in the same namespace, a table and a view in the same schema cannot have the same name. However, tables and indexes are in different namespaces. Therefore, a table and an index in the same schema can have the same name.
Each schema in the database has its own namespaces for the objects it contains. This means, for example, that two tables in different schemas are in different namespaces and can have the same name.
# Each of the following nonschema objects also has its own namespace:
- User roles
- Public synonyms
- Public database links
- Tablespaces
- Profiles
- Parameter files (PFILEs) and server parameter files (SPFILEs)
Because the objects in these namespaces are not contained in schemas, these namespaces span the entire database.
'Oracle > SQL' 카테고리의 다른 글
단일행 함수(Single Row Function) (0) | 2009.11.09 |
---|---|
Pairwise comparions VS Nonpairwise comparions (0) | 2009.11.07 |
[펌]sqlplus column 관련 명령어 (0) | 2009.10.28 |
[펌]오라클 NLS 정보확인 (0) | 2009.10.25 |
오라클에서 유로화(€) 표시방법 (0) | 2009.10.25 |