MarkAutoDBAObjects Stored Procedure | VantageCloud Lake - MarkAutoDBAObjects - Teradata VantageCloud Lake

Lake - Monitor Resources and Performance

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
wyu1683671641248.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
wyu1683671641248
This stored procedure marks an existing database and all its existing tables as being excluded from the scope of AutoStats management (or conversely, included in AutoStats scope).
Use this API to make use is equivalent cascading functionality not available in the ALTER TABLE SQL statement.

Required SQL Privileges

  • When marking an entire database or user, a MODIFY DATABASE | USER statement is executed by the body of the stored procedure which requires the INVOKER to have the DROP DATABASE or DROP USER privilege on the specified DatabaseName.
  • When marking an individual table or when the Cascade option is specified as true, an ALTER TABLE statement is executed by the body of the stored procedure which requires the INVOKER to have the DROP TABLE privilege on the specified TableName.
  • EXECUTE PROCEDURE ON TDSTATS