We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


How can we check who has last modified the table ? Means who has alter a particular table? — Vertica Forum

How can we check who has last modified the table ? Means who has alter a particular table?

Comments

  • QUERY_REQUESTS

    Returns information about user-issued query requests.

    Something like this:
    SELECT USER_NAME,
           TRANSACTION_ID,
           STATEMENT_ID,
           MAX(START_TIMESTAMP)
      FROM QUERY_REQUESTS
     WHERE REQUEST ILIKE '%ALTER%TABLE%table_name%';
  • Thank you so much Daniel . Your reply really helped me.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file