<?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 Problem with stored procedure columns in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294809#M711070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV will probably rename as blaise said. At least, that's what happen with excel files with columns with the same name. &lt;/P&gt;&lt;P&gt;Maybe it will be column and column 1 &lt;/P&gt;&lt;P&gt;you could try: &lt;/P&gt;&lt;P&gt;Load *; sql exec your_stored_procedure;&lt;/P&gt;&lt;P&gt;or even without the load to see the names you can get&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2011 15:59:32 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2011-05-12T15:59:32Z</dc:date>
    <item>
      <title>Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294807#M711068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlik-members!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with a stored procedure i run in my load script because my company has changed something.&lt;/P&gt;&lt;P&gt;One month ago the procedure gave me a normal table.&lt;/P&gt;&lt;P&gt;Since one week the same procedure has some extra columns.&lt;/P&gt;&lt;P&gt;Now is the problem that my colleague has made a &amp;amp;*#*&amp;amp;$!! mistake and the procedure gives me a table with two columns who has the same name......&lt;/P&gt;&lt;P&gt;How can is select those both individually?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martijn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 14:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294807#M711068</guid>
      <dc:creator />
      <dc:date>2011-05-12T14:00:18Z</dc:date>
    </item>
    <item>
      <title>Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294808#M711069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im not sure how you use the stored procedure but have you tested with;&lt;/P&gt;&lt;P&gt;Load column1, column2; sql exec your_stored_procedure;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 15:46:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294808#M711069</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2011-05-12T15:46:25Z</dc:date>
    </item>
    <item>
      <title>Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294809#M711070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV will probably rename as blaise said. At least, that's what happen with excel files with columns with the same name. &lt;/P&gt;&lt;P&gt;Maybe it will be column and column 1 &lt;/P&gt;&lt;P&gt;you could try: &lt;/P&gt;&lt;P&gt;Load *; sql exec your_stored_procedure;&lt;/P&gt;&lt;P&gt;or even without the load to see the names you can get&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 15:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294809#M711070</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-12T15:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294810#M711071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well the column1 and column2 was only used as an example where he can specify what columns to load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my Sony Ericsson Xperia arc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 16:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294810#M711071</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2011-05-12T16:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294811#M711072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks blaise and erich!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like the idea of use * to know the names who gives Qlikview them.&lt;/P&gt;&lt;P&gt;But when I use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD *;&lt;/P&gt;&lt;P&gt;SQL EXEC "$(vDatabase)".dbo.[name_procedure] 2,'$(vStartDate)','$(vEndDate)',$(i);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get an error (something like "Reading OLEDB failed") and when I use the old method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD a,&lt;/P&gt;&lt;P&gt;b,&lt;/P&gt;&lt;P&gt;c,&lt;/P&gt;&lt;P&gt;d;&lt;/P&gt;&lt;P&gt;SQL EXEC "$(vDatabase)".dbo.[name_procedure] 2,'$(vStartDate)','$(vEndDate)',$(i);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martijn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 08:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294811#M711072</guid>
      <dc:creator />
      <dc:date>2011-05-13T08:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294812#M711073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. only the sql exec part and reload the application&lt;/P&gt;&lt;P&gt;2. Find the column names in the table viewer (ctrl+t)&lt;/P&gt;&lt;P&gt;3. add the column names into a load ; statement&lt;/P&gt;&lt;P&gt;4. Reload the application&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 08:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294812#M711073</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2011-05-13T08:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294813#M711074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Blaise,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do this I still get the same error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I run only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL EXEC "$(vDatabase)".dbo.[name_procedure] 2,'$(vStartDate)','$(vEndDate)',1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have add the "mode is write" part on the end of my connection string and checked the sentence about read en write on database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you or somebody can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martijn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 08:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294813#M711074</guid>
      <dc:creator />
      <dc:date>2011-05-13T08:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294814#M711075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The part withou load wil also not work... &lt;/P&gt;&lt;P&gt;I get error reading OLEDB failed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 09:16:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294814#M711075</guid>
      <dc:creator />
      <dc:date>2011-05-13T09:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294815#M711076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How did you load the data before? Does the stored procedure works at all?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 11:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294815#M711076</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2011-05-13T11:10:51Z</dc:date>
    </item>
    <item>
      <title>Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294816#M711077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Yes normal it works.&lt;/P&gt;&lt;P&gt;See my first post &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 11:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294816#M711077</guid>
      <dc:creator />
      <dc:date>2011-05-13T11:58:06Z</dc:date>
    </item>
    <item>
      <title>Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294817#M711078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Can somebody help me with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 12:54:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294817#M711078</guid>
      <dc:creator />
      <dc:date>2011-06-06T12:54:39Z</dc:date>
    </item>
    <item>
      <title>Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294818#M711079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post the statement you use to extract the data using the PL/SQL stored procedure and nothing else (ie create an application that only extracts the data from PL/SQL stored procedure).&lt;/P&gt;&lt;P&gt;Please post a screenshot of the table viewer where all fields are visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br Blaise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2011 13:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294818#M711079</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2011-06-06T13:15:12Z</dc:date>
    </item>
    <item>
      <title>Problem with stored procedure columns</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294819#M711080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure select * will work in this situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the same thing that you get.&amp;nbsp; When OLEDB driver&amp;nbsp; (and ODBC) reaches the duplicate column name, it throws ODBC/OLEDB read failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you rename the column on the sql side ?&amp;nbsp;&amp;nbsp; Having two columns with the same name, while allowed in SQL, seems confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you cannot rename the column in that procedure, create anohter one or have it return an alternate name based on the calling program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2011 12:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-stored-procedure-columns/m-p/294819#M711080</guid>
      <dc:creator />
      <dc:date>2011-06-07T12:47:40Z</dc:date>
    </item>
  </channel>
</rss>

