Teradata recommends that you create top-level databases to separate tables and views. You can create additional lower-level databases within the top-level databases as required by site security policy and user access needs. For example, lower-level databases can be based on organizations.
Database | Description |
---|---|
Tables_Database |
|
Views_Database |
Where security policy requires it, you can designate a layer of views for load and update operations so that even batch users do not need to directly access data tables.
|
You must grant table access privileges to each views database to allow the views within each database to access tables in the Tables database. The following is an example of the command:
GRANT SELECT ON Tables_Database TO Views_Database WITH GRANT OPTION;
Use the editor to create databases in VantageCloud Lake.
- Log on as SYSDBA, and select the editor .
- Enter the CREATE DATABASE syntax as in the following example:
CREATE DATABASE name [ FROM database_name ] AS { PERMANENT | PERM } = { n | constant_expression } [ BYTES ] [ SKEW = { constant_expression | DEFAULT } [ PERCENT ] ] [ database_attribute [[,]...] [;]
- Select Run.