cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

From what I'm seeing Databricks doesn't have DECLARE function, how can I ... ?

Joe_C
New Contributor

How can I re-write this statement in a way that is compatible for Databricks?

DECLARE @DATE_BEGIN_TEST AS DATE = DATEADD(DAY, - 60, GETDATE());

DECLARE @DATE_END_TEST AS DATE = GETDATE();

3 REPLIES 3

Kaniz
Community Manager
Community Manager

Hi @Joseph Collinsโ€‹, We have a similar community thread here.

Kaniz
Community Manager
Community Manager

Hi @Joseph Collinsโ€‹ , We havenโ€™t heard from you on the last response from me, and I was checking back to see if you have a resolution yet. If you have any solution, please do share that same with the community as it can be helpful to others. Otherwise, we will respond with more details and try to help.

Hi @Joseph Collinsโ€‹,

Just a friendly follow-up. Do you still need help or the link shared by Kaniz help you? Please let us know

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.