โ08-29-2025 04:35 AM
Hi,
I have created a sql query with the parameter.
Now using that parameterized sql query in databricks legacy sql alert.
And scheduling that databricks sql alert in databricks workflow/job using Sql task type.
Now how should I pass the parameter value to sql query. Because I want to send that parameter value in runtime.
โ09-09-2025 11:51 PM
Hi @Khaja_Zaffer ,
My issue is resolved. I am using SQL Query API to parameterize sql query and assign a new value every time. And then using that SQL query in the alert.
Thank you!
โ09-01-2025 04:08 PM
Hello @gayatrikhatale
Good day!!
You can use like this
Just to understand, did you save the alert with the threshold value?
โ09-01-2025 04:36 PM
I understand your issue but here: https://learn.microsoft.com/en-us/azure/databricks/jobs/sql#:~:text=Alerts%20do%20not%20support%20pa.... according to documentation it says not supported.
if you want to do it dynamically enter a value, its complicated.
โ09-01-2025 09:43 PM
Thanks for the clarification.
โ09-01-2025 11:39 PM
Hello @gayatrikhatale
If you are okay, can you please share what you are trying to parameterize in the sql query. If you share in detail I think we can work out.
If you already got a solution let me know.
Thank you.
โ09-09-2025 11:51 PM
Hi @Khaja_Zaffer ,
My issue is resolved. I am using SQL Query API to parameterize sql query and assign a new value every time. And then using that SQL query in the alert.
Thank you!
โ09-10-2025 01:43 AM
Okay thank you @gayatrikhatale
Good to know that.
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now