Drop a User Using SQL - Teradata VantageCloud Lake

Lake - Configure and Manage Your Environment and Organization

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Publication Date
February 2025
Publication ID
B700-4600-007K
ft:locale
en-US
ft:lastEdition
2025-10-24
dita:mapPath
erj1683672627920.ditamap
dita:ditavalPath
pny1626732985837.ditaval
ft:sourceId
dita
dita:id
erj1683672627920
  1. If a journal table exists for the user, drop the journal table:
    MODIFY USER user_name AS DROP DEFAULT JOURNAL TABLE;
  2. Delete all database objects from the user:
    DELETE USER user_name ALL;
  3. Drop the user:
    DROP USER user_name;