[DYK with Dash] Cortex Code has a secret weapon most people walk right past!
❄️ Type #DB.SCHEMA.TABLE directly in your Snowflake Cortex Code prompt and BOOM -- it auto-injects the full column metadata, primary keys, row count, and sample rows into context. No more copy-past...
![[DYK with Dash] Cortex Code has a secret weapon most people walk right past!](https://media2.dev.to/dynamic/image/width=1200,height=627,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffrm3wl6f8fsbbj7eeaa7.png)
Source: DEV Community
❄️ Type #DB.SCHEMA.TABLE directly in your Snowflake Cortex Code prompt and BOOM -- it auto-injects the full column metadata, primary keys, row count, and sample rows into context. No more copy-pasting DESCRIBE output. No more guessing column names. 👉 Just prefix any fully-qualified table name with # and the agent instantly knows your schema 👉 Autocomplete kicks in after you type # 👉 Works with any table in your Snowflake account Stop manually feeding context. Let the CLI do it for you! Try this right now: type # and pick a table -- then drop your result in the comments 👇 📖 Docs: https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code-cli