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.
'DB > ORACLE' 카테고리의 다른 글
다운타임의 원인과 해결책들 (0) | 2014.07.02 |
---|---|
파이썬 설치 및 오라클 접속 예제 (0) | 2014.06.30 |
[펌]물리모델링시 Width가 없는 Number형을 쓰지 말아야 할 이유 (0) | 2014.06.24 |
[펌] 오라클 쿼리 작성 지침 (0) | 2014.05.17 |
[펌] print_table 프로시져 만들기 ^^ (0) | 2014.05.10 |