<?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: using Macro excu Store Procedure in qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-Macro-excu-Store-Procedure-in-qlikview/m-p/626085#M683571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of macro try like this in Qlikview script, it returns the resultset and stores in a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SQL EXEC &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[dbo].[GetDatename]&amp;nbsp; '2013/11/1','2013/2/2','25'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Feb 2014 07:31:04 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-02-25T07:31:04Z</dc:date>
    <item>
      <title>using Macro excu Store Procedure in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/using-Macro-excu-Store-Procedure-in-qlikview/m-p/626083#M683566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H4&gt;While using below script is successfully inserting those i given parameters into Sql sever database ie store procedure that fine my question is that How To get values of the Database ? and if we Get where it will store and how to do that?&lt;/H4&gt;&lt;H4&gt;//Macro&lt;/H4&gt;&lt;P&gt;sub Trigger&lt;/P&gt;&lt;P&gt;Set conn = CreateObject("ADODB.Connection")&lt;/P&gt;&lt;P&gt;Set rs = CreateObject("ADODB.Recordset")&lt;/P&gt;&lt;P&gt;' String connection&lt;/P&gt;&lt;P&gt;strConn = "Connection Name"&lt;/P&gt;&lt;P&gt;' Open the connection&lt;/P&gt;&lt;P&gt;conn.Open strConn&lt;/P&gt;&lt;P&gt;parameter1= date1&lt;/P&gt;&lt;P&gt;parameter2= date2&lt;/P&gt;&lt;P&gt;' Execute the stored procedure&lt;/P&gt;&lt;P&gt;sqlQuery = "EXEC [dbo].[GetDatename]&amp;nbsp; '2013/11/1','2013/2/2','25' "&lt;/P&gt;&lt;P&gt;rs.Open sqlQuery, conn, adOpenForwardOnly&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;end sub&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 05:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Macro-excu-Store-Procedure-in-qlikview/m-p/626083#M683566</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-02-25T05:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: using Macro excu Store Procedure in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/using-Macro-excu-Store-Procedure-in-qlikview/m-p/626084#M683567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not possible to use a macro to load data into QlikView. You should do it in the load script instead, using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL EXEC &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[dbo].[GetDatename]&amp;nbsp; '2013/11/1','2013/2/2','25'&lt;/SPAN&gt; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read more here:&lt;A href="https://community.qlik.com/message/360841"&gt;How to pass variable to a SqlServer stored proc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 07:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Macro-excu-Store-Procedure-in-qlikview/m-p/626084#M683567</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-02-25T07:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: using Macro excu Store Procedure in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/using-Macro-excu-Store-Procedure-in-qlikview/m-p/626085#M683571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of macro try like this in Qlikview script, it returns the resultset and stores in a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SQL EXEC &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[dbo].[GetDatename]&amp;nbsp; '2013/11/1','2013/2/2','25'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 07:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-Macro-excu-Store-Procedure-in-qlikview/m-p/626085#M683571</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-02-25T07:31:04Z</dc:date>
    </item>
  </channel>
</rss>

