cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks SQL Identifier Variables

RobsonNLPT
Contributor II

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. 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group