16.20 - Example: Using UsersV - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ Data Dictionary

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
zzu1512081120577.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

The following SELECT statement displays information about all users owned or created by the current user, Jones.

SELECT UserName,CreatorName,PermSpace,SpoolSpace
FROM DBC.UsersV;

Result:

UserName     CreatorName      PermSpace      SpoolSpace
--------     -----------      ---------      ----------
Jones        sysadmin         1,000,000       1,000,000
Peterson     Jones              100,000       1,000,000
Moffit       Jones              100,000       1,000,000
Chin         Jones              100,000       1,000,000
Greene       Jones              100,000       1,000,000