<?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: Variable in schema SQL Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-in-schema-SQL-Statement/m-p/1725894#M452015</link>
    <description>&lt;P&gt;Another alternative to Vegar's response is changing your LET to SET--then the single quotes will stay within the variable and you don't need to add them in the SQL.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 21:54:10 GMT</pubDate>
    <dc:creator>Nicole-Smith</dc:creator>
    <dc:date>2020-07-07T21:54:10Z</dc:date>
    <item>
      <title>Variable in schema SQL Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-schema-SQL-Statement/m-p/1725886#M452013</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the correct statement, i see an error message...&amp;nbsp;&lt;/P&gt;&lt;P&gt;LET vTableSchema ='Appollon';&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;TABLE_NAME AS TableNames;&lt;BR /&gt;SELECT DISTINCT TABLE_NAME FROM information_schema.tables&lt;BR /&gt;WHERE table_schema=$(vTableSchema)&amp;nbsp; AND TABLE_NAME IN (&lt;BR /&gt;'countries',&amp;nbsp;'adventures_professionnal');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-schema-SQL-Statement/m-p/1725886#M452013</guid>
      <dc:creator>Judicael</dc:creator>
      <dc:date>2024-11-16T18:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in schema SQL Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-schema-SQL-Statement/m-p/1725889#M452014</link>
      <description>&lt;P&gt;My best guess is that you need quotes around your variable expansion. Like this:&lt;/P&gt;&lt;P&gt;...&amp;nbsp;&lt;/P&gt;&lt;P&gt;WHERE table_schema='$(vTableSchema)'&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 21:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-schema-SQL-Statement/m-p/1725889#M452014</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-07-07T21:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in schema SQL Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-schema-SQL-Statement/m-p/1725894#M452015</link>
      <description>&lt;P&gt;Another alternative to Vegar's response is changing your LET to SET--then the single quotes will stay within the variable and you don't need to add them in the SQL.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 21:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-schema-SQL-Statement/m-p/1725894#M452015</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2020-07-07T21:54:10Z</dc:date>
    </item>
  </channel>
</rss>

