<?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: Question concerning Date and Long Timestamps in SQL Database in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-concerning-Date-and-Long-Timestamps-in-SQL-Database/m-p/1433595#M613937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OEE_RES_STATE_SAMP:&lt;/P&gt;&lt;P&gt;LOAD timestamp#(RSS_TIMESTAMP_START,'YYYYMMDDhhmmss') as NewDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don't know what are your last three digits? Mili seconds?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Sep 2017 17:51:55 GMT</pubDate>
    <dc:creator>sergio0592</dc:creator>
    <dc:date>2017-09-04T17:51:55Z</dc:date>
    <item>
      <title>Question concerning Date and Long Timestamps in SQL Database</title>
      <link>https://community.qlik.com/t5/QlikView/Question-concerning-Date-and-Long-Timestamps-in-SQL-Database/m-p/1433594#M613936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dear Qlik Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before I start with my question, I wanted to say that the Qlik Community is maybe the best online help forum on the internet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load data from an SQL Server and put it into a QVD. I have serious problems with a Timestamp field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the options concerning the field:1&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/175528_pastedImage_7.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;This is how the data looks on the SQL Database:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/175526_pastedImage_4.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;This is how it looks in my QVD File:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/175527_pastedImage_5.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is my Statement:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OEE_RES_STATE_SAMP:&lt;BR /&gt;LOAD text(RSS_TIMESTAMP_START) as NewDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT "RSS_TIMESTAMP_START"&lt;BR /&gt;FROM xxx.dbo."xxx_xxx_xxx_xxx";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I want to do is to make a date out of this timestamp -&amp;gt; yyyy-mm-dd hh:mm:ss.fff&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would anybody please assist me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 13:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-concerning-Date-and-Long-Timestamps-in-SQL-Database/m-p/1433594#M613936</guid>
      <dc:creator>qliksase</dc:creator>
      <dc:date>2017-09-04T13:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Question concerning Date and Long Timestamps in SQL Database</title>
      <link>https://community.qlik.com/t5/QlikView/Question-concerning-Date-and-Long-Timestamps-in-SQL-Database/m-p/1433595#M613937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OEE_RES_STATE_SAMP:&lt;/P&gt;&lt;P&gt;LOAD timestamp#(RSS_TIMESTAMP_START,'YYYYMMDDhhmmss') as NewDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i don't know what are your last three digits? Mili seconds?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 17:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-concerning-Date-and-Long-Timestamps-in-SQL-Database/m-p/1433595#M613937</guid>
      <dc:creator>sergio0592</dc:creator>
      <dc:date>2017-09-04T17:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Question concerning Date and Long Timestamps in SQL Database</title>
      <link>https://community.qlik.com/t5/QlikView/Question-concerning-Date-and-Long-Timestamps-in-SQL-Database/m-p/1433596#M613938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the fast response. The hint didn't work, I think the problem is the length of this numeric value in the database. But I found a different solution in the meantime:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD date#(Left(((RSS_TIMESTAMP)/100000),8), 'YYYYMMDD') as %Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using this function I get a correct date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 07:46:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-concerning-Date-and-Long-Timestamps-in-SQL-Database/m-p/1433596#M613938</guid>
      <dc:creator>qliksase</dc:creator>
      <dc:date>2017-09-06T07:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Question concerning Date and Long Timestamps in SQL Database</title>
      <link>https://community.qlik.com/t5/QlikView/Question-concerning-Date-and-Long-Timestamps-in-SQL-Database/m-p/1433597#M613939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt;before I start with my question, I wanted to say that the Qlik Community is maybe the best online help forum on the internet."&lt;BR /&gt;&lt;/SPAN&gt;this is so true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(just saying)&lt;/P&gt;&lt;P&gt;hope i can make my own document soon since i'm new here in qlikview&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 07:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-concerning-Date-and-Long-Timestamps-in-SQL-Database/m-p/1433597#M613939</guid>
      <dc:creator />
      <dc:date>2017-09-06T07:59:23Z</dc:date>
    </item>
  </channel>
</rss>

