SQL Stored Procedure in Databricks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2025 04:56 AM - edited 09-30-2025 05:00 AM
Hello, Is there a sql server equivalent stored procedure in Databricks which supports while loop along with delay as below. or are there any other alternative to achieve the same.
while (select count(*) from schema.mart_daily with (nolock)) = 0
begin
waitfor delay '00:01'
endThank You in advance.