title: "SHOW CREATE SOURCE"
description: "SHOW CREATE SOURCE
returns the statement used to create the source."
menu:
main:
parent: commands
SHOW CREATE SOURCE
returns the DDL statement used to create the source.
SHOW [REDACTED] CREATE SOURCE <source_name>
{{< yaml-table data="show_create_redacted_option" >}}
For available source names, see SHOW SOURCES
.
SHOW CREATE SOURCE market_orders_raw;
name | create_sql
--------------------------------------+--------------------------------------------------------------------------------------------------------------
materialize.public.market_orders_raw | CREATE SOURCE "materialize"."public"."market_orders_raw" IN CLUSTER "c" FROM LOAD GENERATOR COUNTER
The privileges required to execute this statement are:
{{< include-md file="shared-content/sql-command-privileges/show-create-source.md" >}}