<?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: SQL DECLARE with a UserTable type in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-DECLARE-with-a-UserTable-type/m-p/1531564#M438775</link>
    <description>&lt;P&gt;You need to define the table in the declare:&lt;/P&gt;&lt;DIV class="container"&gt;&lt;DIV class="line number1 index0 alt2"&gt;DECLARE @ProductTotals TABLE&lt;/DIV&gt;&lt;DIV class="line number2 index1 alt1"&gt;(&lt;/DIV&gt;&lt;DIV class="line number3 index2 alt2"&gt;&amp;nbsp;&amp;nbsp;ProductID int,&lt;/DIV&gt;&lt;DIV class="line number4 index3 alt1"&gt;&amp;nbsp;&amp;nbsp;Revenue money&lt;/DIV&gt;&lt;DIV class="line number5 index4 alt2"&gt;)&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 17 Jan 2019 13:18:55 GMT</pubDate>
    <dc:creator>jonathandienst</dc:creator>
    <dc:date>2019-01-17T13:18:55Z</dc:date>
    <item>
      <title>SQL DECLARE with a UserTable type</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-DECLARE-with-a-UserTable-type/m-p/1531498#M438768</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to use SQL DECLARE with a UserTable type&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SQL DECLARE&amp;nbsp;@Variable UserTable;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It works properly in SSMS but error appears in QlikView&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;ErrorMsg: Parameter or variable '@Variable' has an invalid data type.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 11:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-DECLARE-with-a-UserTable-type/m-p/1531498#M438768</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2019-01-17T11:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: SQL DECLARE with a UserTable type</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-DECLARE-with-a-UserTable-type/m-p/1531564#M438775</link>
      <description>&lt;P&gt;You need to define the table in the declare:&lt;/P&gt;&lt;DIV class="container"&gt;&lt;DIV class="line number1 index0 alt2"&gt;DECLARE @ProductTotals TABLE&lt;/DIV&gt;&lt;DIV class="line number2 index1 alt1"&gt;(&lt;/DIV&gt;&lt;DIV class="line number3 index2 alt2"&gt;&amp;nbsp;&amp;nbsp;ProductID int,&lt;/DIV&gt;&lt;DIV class="line number4 index3 alt1"&gt;&amp;nbsp;&amp;nbsp;Revenue money&lt;/DIV&gt;&lt;DIV class="line number5 index4 alt2"&gt;)&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Jan 2019 13:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-DECLARE-with-a-UserTable-type/m-p/1531564#M438775</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-01-17T13:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: SQL DECLARE with a UserTable type</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-DECLARE-with-a-UserTable-type/m-p/1531711#M438783</link>
      <description>&lt;P&gt;Thanks for quick reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It works!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 16:47:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-DECLARE-with-a-UserTable-type/m-p/1531711#M438783</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2019-01-17T16:47:47Z</dc:date>
    </item>
  </channel>
</rss>

