How can I see the SQL that dbt is running?
To check out the SQL that dbt is running, you can look in:
- dbt Cloud:
- Within the run output, click on a model name, and then select "Details"
- dbt Core:
- The
target/compiled/
directory for compiledselect
statements - The
target/run/
directory for compiledcreate
statements - The
logs/dbt.log
file for verbose logging.
- The
0