cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks SQL Identifier Variables

RobsonNLPT
Contributor III

Hi all.

Just trying to implement adb sql scripts using identifier clause but I have errors like that using an example:

DECLARE mytab = 'tab1'

CREATE TABLE IDENTIFIER(mytab) (c1 INT);

The feature is not supported: Temporary variables are not yet supported for queries from SQL warehouses

https://learn.microsoft.com/en-us/azure/databricks/sql/language-manual/sql-ref-names-identifier-clau...

 

1 REPLY 1

shan_chandra
Databricks Employee
Databricks Employee

@RobsonNLPT  - The feature development is still in place. Just the docs are released prior to the feature availability which is an usual process. The feature will be released on preview channel with a tentative ETA on Feb 20 as of now.  Alternatively, if you are a Databricks support customer, you can reach out to Databricks Account team/Representative  to further support on this.