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

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now