CREATE SCOPE Statements
- reference
This topic describes how you use the CREATE
statement to create Enterprise Analytics scopes.
For general CREATE
statement syntax, see CREATE Statements.
Syntax
CreateScope EBNF
CreateScope ::= "CREATE" "ANALYTICS"? "SCOPE" DatabaseAndScopeName ("IF" "NOT" "EXISTS")?
Synonym for SCOPE
: DATAVERSE
CreateScope Diagram

DatabaseAndScopeName Diagram

The DatabaseAndScopeName
represents two identifiers separated by a dot character .
, where the first identifier is the database name and the second identifier is the scope name.
If a single identifier is present, Enterprise Analytics resolves it as a scope name and assumes that the database is Default.
For more information about how Enterprise Analytics organizes entities into a database.scope.database_object
hierarchy and resolves names, see Entities in Enterprise Analytics.