17.00 - Example: Using DatabasesV - Teradata Database

Teradata Vantage™ - Data Dictionary

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Administration
Programming Reference
featnum
B035-1092-170K

The statement shown in the following selects information about the Personnel database:

SELECT AccountName,ProtectionType,PermSpace,SpoolSpace
       FROM DBC.DatabasesV WHERE DatabaseName = ’Personnel’;

Result:

AccountName       ProtectionType  PermSpace   SpoolSpace
---------------   --------------  ---------   -------------
Teradata_Sample   F               100,000     1,339,884,032