<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can we pass parameters while scheduling queries in Databricks SQL? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24152#M16773</link>
    <description>&lt;P&gt;How to create widget in sql warehouse query, not using a notebook so cannot use the dbutils to create widgets?  &lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2022 08:16:54 GMT</pubDate>
    <dc:creator>Sajid1</dc:creator>
    <dc:date>2022-11-03T08:16:54Z</dc:date>
    <item>
      <title>How can we pass parameters while scheduling queries in Databricks SQL?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24149#M16770</link>
      <description />
      <pubDate>Wed, 02 Nov 2022 17:53:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24149#M16770</guid>
      <dc:creator>Sajid1</dc:creator>
      <dc:date>2022-11-02T17:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can we pass parameters while scheduling queries in Databricks SQL?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24150#M16771</link>
      <description>&lt;P&gt;Hello:) &lt;/P&gt;&lt;P&gt;How would you like pass a parameters and where? Is it ok for you to have value stored on the query level? &lt;/P&gt;&lt;P&gt;Did you checked &lt;A href="https://docs.databricks.com/sql/user/queries/query-parameters.html" alt="https://docs.databricks.com/sql/user/queries/query-parameters.html" target="_blank"&gt;documentation&lt;/A&gt; out? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your bussines case? &lt;/P&gt;&lt;P&gt;or  perhaps this &lt;A href="https://community.databricks.com/s/question/0D53f00001GHVY4CAP/how-do-i-make-a-parameter-in-a-databricks-sql-dashboard-apply-to-multiple-visuals" alt="https://community.databricks.com/s/question/0D53f00001GHVY4CAP/how-do-i-make-a-parameter-in-a-databricks-sql-dashboard-apply-to-multiple-visuals" target="_blank"&gt;question  &lt;/A&gt;resolve your issue &lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 20:59:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24150#M16771</guid>
      <dc:creator>Cami</dc:creator>
      <dc:date>2022-11-02T20:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can we pass parameters while scheduling queries in Databricks SQL?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24151#M16772</link>
      <description>&lt;P&gt;Any string between double curly braces&amp;nbsp;&lt;/P&gt;&lt;P&gt;{{&amp;nbsp;}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;is treated as a query parameter. widget&amp;nbsp; can be an option here.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 06:39:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24151#M16772</guid>
      <dc:creator>PrasanthM</dc:creator>
      <dc:date>2022-11-03T06:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can we pass parameters while scheduling queries in Databricks SQL?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24152#M16773</link>
      <description>&lt;P&gt;How to create widget in sql warehouse query, not using a notebook so cannot use the dbutils to create widgets?  &lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 08:16:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24152#M16773</guid>
      <dc:creator>Sajid1</dc:creator>
      <dc:date>2022-11-03T08:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can we pass parameters while scheduling queries in Databricks SQL?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24153#M16774</link>
      <description>&lt;P&gt;I had gone through the documentation, not explored the query-based dropdown list. However, can the users change the parameter value once the query is refreshed and dashboard is populated? Primarily, I am not sure of how to pass default values for parameters as i need to schedule the queries and get the dashboard populated.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 08:22:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24153#M16774</guid>
      <dc:creator>Sajid1</dc:creator>
      <dc:date>2022-11-03T08:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can we pass parameters while scheduling queries in Databricks SQL?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24154#M16775</link>
      <description>&lt;P&gt;Hi @Sajid Thavalengal Rahiman​&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you write your query into DBSQL, just add a variable into brackets like this, it will add automatically the widget with the name given in the SQL Code (You can customize the type of your widget by clicking on the icon on the right of the widget):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1262iBB1AB63C5A4AFAA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/1259iEDA74B86E3A9181F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 10:37:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-can-we-pass-parameters-while-scheduling-queries-in/m-p/24154#M16775</guid>
      <dc:creator>LaurentLeturgez</dc:creator>
      <dc:date>2022-11-04T10:37:04Z</dc:date>
    </item>
  </channel>
</rss>

