<?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 SET DateFormat='YYYY-MM-DD'; doesn’t recognize SQL Server dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/SET-DateFormat-YYYY-MM-DD-doesn-t-recognize-SQL-Server-dates/m-p/1529188#M38055</link>
    <description>&lt;P&gt;When I run the script below, Qlik Sense is treating the incoming &lt;STRONG&gt;dates&lt;/STRONG&gt; as though they were text. I even attempted to use “&lt;FONT face="georgia,palatino"&gt;CONVERT(varchar, getdate(), 23)&lt;/FONT&gt;” to ensure the data was coming in as a &lt;FONT face="georgia,palatino"&gt;VARCHAR(10)&lt;/FONT&gt; in the &lt;FONT face="georgia,palatino"&gt;'YYYY-MM-DD'&lt;/FONT&gt; format and the values are still showing up at strings. I am using &lt;FONT face="comic sans ms,sans-serif"&gt;SQL Server 2016&lt;/FONT&gt; and my connection is using the &lt;FONT face="comic sans ms,sans-serif"&gt;SQLOLEDB&lt;/FONT&gt; driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The odd thing is that I have no issues with the TimeStampFormat.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DateFormatIssue.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3565i60BAD0771D0F5099/image-size/large?v=v2&amp;amp;px=999" role="button" title="DateFormatIssue.png" alt="DateFormatIssue.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:37:07 GMT</pubDate>
    <dc:creator>wdchristensen</dc:creator>
    <dc:date>2024-11-16T21:37:07Z</dc:date>
    <item>
      <title>SET DateFormat='YYYY-MM-DD'; doesn’t recognize SQL Server dates</title>
      <link>https://community.qlik.com/t5/App-Development/SET-DateFormat-YYYY-MM-DD-doesn-t-recognize-SQL-Server-dates/m-p/1529188#M38055</link>
      <description>&lt;P&gt;When I run the script below, Qlik Sense is treating the incoming &lt;STRONG&gt;dates&lt;/STRONG&gt; as though they were text. I even attempted to use “&lt;FONT face="georgia,palatino"&gt;CONVERT(varchar, getdate(), 23)&lt;/FONT&gt;” to ensure the data was coming in as a &lt;FONT face="georgia,palatino"&gt;VARCHAR(10)&lt;/FONT&gt; in the &lt;FONT face="georgia,palatino"&gt;'YYYY-MM-DD'&lt;/FONT&gt; format and the values are still showing up at strings. I am using &lt;FONT face="comic sans ms,sans-serif"&gt;SQL Server 2016&lt;/FONT&gt; and my connection is using the &lt;FONT face="comic sans ms,sans-serif"&gt;SQLOLEDB&lt;/FONT&gt; driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The odd thing is that I have no issues with the TimeStampFormat.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DateFormatIssue.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3565i60BAD0771D0F5099/image-size/large?v=v2&amp;amp;px=999" role="button" title="DateFormatIssue.png" alt="DateFormatIssue.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SET-DateFormat-YYYY-MM-DD-doesn-t-recognize-SQL-Server-dates/m-p/1529188#M38055</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2024-11-16T21:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: SET DateFormat='YYYY-MM-DD'; doesn’t recognize SQL Server dates</title>
      <link>https://community.qlik.com/t5/App-Development/SET-DateFormat-YYYY-MM-DD-doesn-t-recognize-SQL-Server-dates/m-p/1529209#M38056</link>
      <description>&lt;P&gt;Hey Buddy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had the same issue and the root cause was the OLE DB driver. Try changing your connection to the "Microsoft SQL Server" driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DriverTypeSQL_Server.png" style="width: 557px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3570i5E51BEBE166F2D1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="DriverTypeSQL_Server.png" alt="DriverTypeSQL_Server.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 22:22:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SET-DateFormat-YYYY-MM-DD-doesn-t-recognize-SQL-Server-dates/m-p/1529209#M38056</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2019-01-10T22:22:56Z</dc:date>
    </item>
  </channel>
</rss>

