Working with Table Access Privileges for Views - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Publication Date
February 2025
Publication ID
B700-4600-006K
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
ft:sourceId
dita
dita:id
ohi1683672393549

You must grant table access privileges to all views databases to allow the views within each database to access tables in the Tables database.

When table access privileges are granted to a Views database, the individual views inherit the right to access tables in the Tables database from the parent Views database.

Granting Table Access to Each Views Database

  1. Start BTEQ or Teradata Studio and log on as the database administrator user.
  2. Run the following requests:
    • For read-only Views databases:
      GRANT SELECT ON "Tables_Database" TO "database_name" WITH GRANT OPTION
    • For the updatable Views databases:
      GRANT SELECT, INSERT, UPDATE, DELETE ON "Tables_Database" TO "database_name" WITH GRANT OPTION

    See GRANT (SQL Form) and Granting Database Privileges to User DBADMIN.