<?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 -- SQL : How to select all fields + add a field in the same query? -- in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375708#M702515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a question about using SQL in QlikView:&lt;/P&gt;&lt;P&gt;I have these 2 queries and I want to merge them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1/&amp;nbsp; select *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2/&amp;nbsp; select 'TOTO'&amp;nbsp;&amp;nbsp; as Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I want to do something like : &lt;/P&gt;&lt;P&gt;select *,'TOTO'&amp;nbsp; as Name&lt;/P&gt;&lt;P&gt;from---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but of course this doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone have a idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2012 09:52:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-07-31T09:52:36Z</dc:date>
    <item>
      <title>-- SQL : How to select all fields + add a field in the same query? --</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375708#M702515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a question about using SQL in QlikView:&lt;/P&gt;&lt;P&gt;I have these 2 queries and I want to merge them:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1/&amp;nbsp; select *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2/&amp;nbsp; select 'TOTO'&amp;nbsp;&amp;nbsp; as Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and I want to do something like : &lt;/P&gt;&lt;P&gt;select *,'TOTO'&amp;nbsp; as Name&lt;/P&gt;&lt;P&gt;from---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but of course this doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone have a idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 09:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375708#M702515</guid>
      <dc:creator />
      <dc:date>2012-07-31T09:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: -- SQL : How to select all fields + add a field in the same query? --</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375709#M702516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why doesn't it work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 09:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375709#M702516</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-31T09:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: -- SQL : How to select all fields + add a field in the same query? --</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375710#M702517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this error: &lt;/P&gt;&lt;P&gt;SQL##f - SqlState: S1000, ErrorCode: 923, ErrorMsg: [Oracle][ODBC][Ora]ORA-00923: FROM keyword not found where expected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 09:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375710#M702517</guid>
      <dc:creator />
      <dc:date>2012-07-31T09:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: -- SQL : How to select all fields + add a field in the same query? --</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375711#M702518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you just do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'TOTO' as Name;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;from----&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 10:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375711#M702518</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-31T10:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: -- SQL : How to select all fields + add a field in the same query? --</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375712#M702519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need in this file to select and store,&lt;/P&gt;&lt;P&gt; not to load!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you dont have another idea using the select?or to replace the '*' ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 10:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375712#M702519</guid>
      <dc:creator />
      <dc:date>2012-07-31T10:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: -- SQL : How to select all fields + add a field in the same query? --</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375713#M702520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm a bit lost as to what you're doing actually.&lt;/P&gt;&lt;P&gt;You want to load a table and add a field called Name containing the string 'TOTO'.&lt;/P&gt;&lt;P&gt;Then you want to store this table.. as a QVD I assume?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 10:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375713#M702520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-07-31T10:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: -- SQL : How to select all fields + add a field in the same query? --</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375714#M702521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,i will be more explicit:&lt;/P&gt;&lt;P&gt;I have 2 qwv files, 1 to select the fields I need&amp;nbsp; (in this case all the fields and the field 'TOTO') &lt;/P&gt;&lt;P&gt;and another fields to load the fields (maybe 2 fields and 'TOTO') .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Yes i store them in a qvd file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i need to use the select to dont make connection with tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 10:14:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-How-to-select-all-fields-add-a-field-in-the-same-query/m-p/375714#M702521</guid>
      <dc:creator />
      <dc:date>2012-07-31T10:14:54Z</dc:date>
    </item>
  </channel>
</rss>

