<?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 Create temporary table in SQL and insert values doesn't work in QLIikSense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Create-temporary-table-in-SQL-and-insert-values-doesn-t-work-in/m-p/1527730#M37914</link>
    <description>&lt;P&gt;For testing purposes I tried to create two temporary tables in A QLikSense script, written in SQL. My code is:&lt;/P&gt;&lt;PRE&gt;LIB CONNECT TO 'db02';

SQL

CREATE TABLE #A
(
    Nr int, 
    helft1 Varchar(1)
)

CREATE TABLE #B
(
    Nr int, 
    helft2 Varchar(1)
)

INSERT INTO #A VALUES (1, 'A')
INSERT INTO #A VALUES (2, 'B')
INSERT INTO #A VALUES (3, 'C')

INSERT INTO #B VALUES (4, 'D')
INSERT INTO #B VALUES (5, 'E')
INSERT INTO #B VALUES (6, 'F')

SELECT * FROM #A

SELECT * FROM #B

;&lt;/PRE&gt;&lt;P&gt;When I run the script I don't get any error messages:&lt;/P&gt;&lt;PRE&gt;Laden van gegevens gestart

Er worden verbinding gemaakt met db02
Verbonden
Zoekindex maken
Maken van zoekindex is voltooid

App opgeslagen

Voltooid
0 geforceerde fout(en)
0 synthetische sleutel(s)&lt;/PRE&gt;&lt;P&gt;My meaning is to create the two tables in SQL temporary and after querying this tables, get them in the model viewer of QLikSense. At the moment I don't get any data in my application. What am I doing wrong. My goal is to use SQL to manipulate and create tables instead of QLik-language.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:54:24 GMT</pubDate>
    <dc:creator>qlikmark1990</dc:creator>
    <dc:date>2024-11-16T06:54:24Z</dc:date>
    <item>
      <title>Create temporary table in SQL and insert values doesn't work in QLIikSense</title>
      <link>https://community.qlik.com/t5/App-Development/Create-temporary-table-in-SQL-and-insert-values-doesn-t-work-in/m-p/1527730#M37914</link>
      <description>&lt;P&gt;For testing purposes I tried to create two temporary tables in A QLikSense script, written in SQL. My code is:&lt;/P&gt;&lt;PRE&gt;LIB CONNECT TO 'db02';

SQL

CREATE TABLE #A
(
    Nr int, 
    helft1 Varchar(1)
)

CREATE TABLE #B
(
    Nr int, 
    helft2 Varchar(1)
)

INSERT INTO #A VALUES (1, 'A')
INSERT INTO #A VALUES (2, 'B')
INSERT INTO #A VALUES (3, 'C')

INSERT INTO #B VALUES (4, 'D')
INSERT INTO #B VALUES (5, 'E')
INSERT INTO #B VALUES (6, 'F')

SELECT * FROM #A

SELECT * FROM #B

;&lt;/PRE&gt;&lt;P&gt;When I run the script I don't get any error messages:&lt;/P&gt;&lt;PRE&gt;Laden van gegevens gestart

Er worden verbinding gemaakt met db02
Verbonden
Zoekindex maken
Maken van zoekindex is voltooid

App opgeslagen

Voltooid
0 geforceerde fout(en)
0 synthetische sleutel(s)&lt;/PRE&gt;&lt;P&gt;My meaning is to create the two tables in SQL temporary and after querying this tables, get them in the model viewer of QLikSense. At the moment I don't get any data in my application. What am I doing wrong. My goal is to use SQL to manipulate and create tables instead of QLik-language.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-temporary-table-in-SQL-and-insert-values-doesn-t-work-in/m-p/1527730#M37914</guid>
      <dc:creator>qlikmark1990</dc:creator>
      <dc:date>2024-11-16T06:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Create temporary table in SQL and insert values doesn't work in QLIikSense</title>
      <link>https://community.qlik.com/t5/App-Development/Create-temporary-table-in-SQL-and-insert-values-doesn-t-work-in/m-p/1527736#M37916</link>
      <description>&lt;P&gt;Most of this script looks OK to me, but I am not sure that Qliksense can use the two result sets returned. For testing, I would remove the second select * and see if QS get that data from a single select. I that works, then concatenate the two temp tables in&amp;nbsp;the SQL select expression.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 13:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-temporary-table-in-SQL-and-insert-values-doesn-t-work-in/m-p/1527736#M37916</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-01-08T13:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Create temporary table in SQL and insert values doesn't work in QLIikSense</title>
      <link>https://community.qlik.com/t5/App-Development/Create-temporary-table-in-SQL-and-insert-values-doesn-t-work-in/m-p/1527738#M37917</link>
      <description>I am of course assuming that the SQL syntax is correct for the DBMS. I would test the script in a query test tool (like SMS for SQL server, Toad or other).</description>
      <pubDate>Tue, 08 Jan 2019 13:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Create-temporary-table-in-SQL-and-insert-values-doesn-t-work-in/m-p/1527738#M37917</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2019-01-08T13:08:58Z</dc:date>
    </item>
  </channel>
</rss>

