SHOW CREATE VIEW - Amazon Athena

SHOW CREATE VIEW

Shows the SQL statement that created the specified Athena or Data Catalog view. The SQL returned shows the create view syntax used in Athena. Calling SHOW CREATE VIEW on Data Catalog views requires Lake Formation admin or view definer permissions.

Synopsis

SHOW CREATE VIEW view_name

Examples

SHOW CREATE VIEW orders_by_date

See also CREATE VIEW and CREATE DIALECT VIEW and DROP VIEW.