<?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 Stored Procedure in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196748#M56683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, I am trying to use SLEEP now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khalid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jun 2010 12:23:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-22T12:23:12Z</dc:date>
    <item>
      <title>Stored Procedure</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196744#M56679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am executing a Stored Procedure named CreateTable in QlikView which is executing successfully.&lt;/P&gt;&lt;P&gt;My Stored Procedure takes 15 minuets to execute, soon after the execution of Stored Procedure by QlikView I want QlikView to Load statements. How is this possible.&lt;/P&gt;&lt;P&gt;Edit Script:&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;ODBC&lt;/B&gt; &lt;B&gt;CONNECT&lt;/B&gt; &lt;B&gt;TO&lt;/B&gt; NEW (XUserId is HEAeQZFMKD, XPassword is aYNIUQJMDLMETZEK);&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt; mso-layout-grid-align: none;"&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;exec&lt;/B&gt; CreateTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 10:53:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196744#M56679</guid>
      <dc:creator />
      <dc:date>2010-06-22T10:53:15Z</dc:date>
    </item>
    <item>
      <title>Stored Procedure</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196745#M56680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Khalid,&lt;/P&gt;&lt;P&gt;As far as I understand, you want first execute that stored procedure and later load one table from the same ODBC in the same script.&lt;/P&gt;&lt;P&gt;If so, your script should look like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;ODBC CONNECT TO NEW ();SQL EXEC CreateTable; Table:LOAD Field1, Field2; SQL SELECT Field1, Field2 FROM SQLDATABASE_TABLE;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 11:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196745#M56680</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-06-22T11:24:16Z</dc:date>
    </item>
    <item>
      <title>Stored Procedure</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196746#M56681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Miguel,&lt;/P&gt;&lt;P&gt;This is great, but my stored procedure takes 15 minutes for a single table and in between it starts loading so i get an incomplete data. How is it possible that whole stored procedure should run first and after the completion of the stored procedure my QlikView load statements should start executing. Is there any delay function for this purpose?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Khalid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 11:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196746#M56681</guid>
      <dc:creator />
      <dc:date>2010-06-22T11:38:43Z</dc:date>
    </item>
    <item>
      <title>Stored Procedure</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196747#M56682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Khalid,&lt;/P&gt;&lt;P&gt;I missed that you were executing. Try using SLEEP n; before the LOAD statement, where n are milliseconds. That should wait time enough to the stored procedure to be executed. I'm not sure if there is a better way to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 12:01:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196747#M56682</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-06-22T12:01:32Z</dc:date>
    </item>
    <item>
      <title>Stored Procedure</title>
      <link>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196748#M56683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear, I am trying to use SLEEP now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Khalid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2010 12:23:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stored-Procedure/m-p/196748#M56683</guid>
      <dc:creator />
      <dc:date>2010-06-22T12:23:12Z</dc:date>
    </item>
  </channel>
</rss>

