Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2022 04:49 AM
@Salah K. Databricks SQL does not support T-SQL style variable declarations. However, Databricks SQL _does_ support variables in a different way.
Try this: "
CREATE DATABASE {{ database_name }}
You will see a "widget" where you can pass in the database name