<?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: Error in Direct Discovery script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-Direct-Discovery-script/m-p/686510#M437906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put the cast inside native('')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please feel free to ask more things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 16:34:59 GMT</pubDate>
    <dc:creator>agomes1971</dc:creator>
    <dc:date>2014-11-03T16:34:59Z</dc:date>
    <item>
      <title>Error in Direct Discovery script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Direct-Discovery-script/m-p/686508#M437904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am prototyping Direct Discovery against an SAP Hana database.&amp;nbsp; If I do a standard SQL Select, I get the data, however, when I use Direct Query with the following script, I get an error.&amp;nbsp; The syntax looks correct according to the most recent documentation.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 12.0pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;ODBC&lt;/SPAN&gt; &lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;CONNECT&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;TO&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[IQ5 ODBC_USER]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;XUserId&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; OKbRdHRICaQeVKNKFSUSM, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;XPassword&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; PcfUGKBGNLYIHYEGBBQB);&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: green;"&gt;//SQL SELECT&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;DIRECT&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;QUERY&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;DIMENSION&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&amp;nbsp; PRODORDER,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;MEASURE&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&amp;nbsp; cast(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"/BIC/ZLABOR1"&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; double) as &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"IE Labor Value_/BIC/ZLABOR1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;BR /&gt;&amp;nbsp; cast(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"/BIC/ZLABOR2"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt; as double) as &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"Earned Labor_/BIC/ZLABOR2"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; FROM &lt;BR /&gt; SAPIQ5.&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;"/BIC/AZPP_O5700"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="DD Error.png" class="jive-image" src="/legacyfs/online/69587_DD Error.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 20:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Direct-Discovery-script/m-p/686508#M437904</guid>
      <dc:creator />
      <dc:date>2014-10-23T20:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Direct Discovery script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Direct-Discovery-script/m-p/686509#M437905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Discovery do not admit standard sql.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best thing to do its to use a View with your standard query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any doubts you're quite welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 15:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Direct-Discovery-script/m-p/686509#M437905</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2014-10-31T15:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Direct Discovery script</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-Direct-Discovery-script/m-p/686510#M437906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put the cast inside native('')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please feel free to ask more things.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 16:34:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-Direct-Discovery-script/m-p/686510#M437906</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2014-11-03T16:34:59Z</dc:date>
    </item>
  </channel>
</rss>

