cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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();

1 REPLY 1

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

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