<?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 New to databricks SQL - where clause issue in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/new-to-databricks-sql-where-clause-issue/m-p/11766#M6691</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Databricks SQL for the first time and I was hoping I could just copy and past my queries from SSMS across and update the table names, but it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found it's the where statement, which I updated the ' ' to " " but still no luck.   Below is a snip of the column with some values in it and my WHERE statement.  Returns 0 rows though...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is going wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where t517f215_paye_tax_category = "GROSS"&lt;/P&gt;&lt;P&gt;&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/847i3F841CA1E0C332D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 06:49:18 GMT</pubDate>
    <dc:creator>Cblunck</dc:creator>
    <dc:date>2023-01-16T06:49:18Z</dc:date>
    <item>
      <title>New to databricks SQL - where clause issue</title>
      <link>https://community.databricks.com/t5/data-engineering/new-to-databricks-sql-where-clause-issue/m-p/11766#M6691</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Databricks SQL for the first time and I was hoping I could just copy and past my queries from SSMS across and update the table names, but it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found it's the where statement, which I updated the ' ' to " " but still no luck.   Below is a snip of the column with some values in it and my WHERE statement.  Returns 0 rows though...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is going wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where t517f215_paye_tax_category = "GROSS"&lt;/P&gt;&lt;P&gt;&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/847i3F841CA1E0C332D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 06:49:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/new-to-databricks-sql-where-clause-issue/m-p/11766#M6691</guid>
      <dc:creator>Cblunck</dc:creator>
      <dc:date>2023-01-16T06:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: New to databricks SQL - where clause issue</title>
      <link>https://community.databricks.com/t5/data-engineering/new-to-databricks-sql-where-clause-issue/m-p/11768#M6693</link>
      <description>&lt;P&gt;Hi @Debayan Mukherjee​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, unfortunately though I re-wrote the query from scratch and it's still not returning a result.&lt;/P&gt;&lt;P&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/834i17A8BA7175317701/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 05:29:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/new-to-databricks-sql-where-clause-issue/m-p/11768#M6693</guid>
      <dc:creator>Cblunck</dc:creator>
      <dc:date>2023-01-17T05:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: New to databricks SQL - where clause issue</title>
      <link>https://community.databricks.com/t5/data-engineering/new-to-databricks-sql-where-clause-issue/m-p/11767#M6692</link>
      <description>&lt;P&gt;Hi, Could you please recheck the format, sometimes copying mismatches the format, also, please refer: &lt;A href="https://docs.databricks.com/sql/language-manual/sql-ref-syntax-qry-select-where.html" alt="https://docs.databricks.com/sql/language-manual/sql-ref-syntax-qry-select-where.html" target="_blank"&gt;https://docs.databricks.com/sql/language-manual/sql-ref-syntax-qry-select-where.html&lt;/A&gt; . It has to be ' '. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 04:53:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/new-to-databricks-sql-where-clause-issue/m-p/11767#M6692</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-01-17T04:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: New to databricks SQL - where clause issue</title>
      <link>https://community.databricks.com/t5/data-engineering/new-to-databricks-sql-where-clause-issue/m-p/63394#M32227</link>
      <description>&lt;P&gt;Hi, were you able to get this figured out? I am having the same issue.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 14:13:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/new-to-databricks-sql-where-clause-issue/m-p/63394#M32227</guid>
      <dc:creator>justinghavami</dc:creator>
      <dc:date>2024-03-12T14:13:22Z</dc:date>
    </item>
  </channel>
</rss>

