<?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: Using var like Row.MyVar in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248231#M33151</link>
    <description>&lt;P&gt;No I can't because there is no ID from the view. The ID_Table will be&amp;nbsp; ID_MAX (with a :&amp;nbsp;"SELECT&amp;nbsp; MAX(" +context.Table+"."+context.PrimaryKey+") FROM " + context.Table &amp;nbsp; &amp;nbsp; &amp;nbsp; -- and then I truncate the table) +1 . The project manager told me I can't add a column ID in my view ...&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jul 2019 08:41:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-07-25T08:41:49Z</dc:date>
    <item>
      <title>Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248220#M33140</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I work with TOS for ESB 7.1.1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;I have a tjavaflex that retrieves all the column names of a view. I would like to retrieve the data contained in my view column by column but row5.Column throws an ERROR : Column cannot be resolved or is not a field. I need to do a dynamic Job because different view could be used. M&lt;SPAN&gt;y column var takes the name of each of the columns.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="QmZWSe"&gt;&lt;DIV class="DHcWmd"&gt;&lt;DIV class="QmZWSe"&gt;&lt;DIV class="DHcWmd"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="DHcWmd"&gt;If someone know if it's possible to use a var like row5.myVar ?&lt;/DIV&gt;&lt;DIV class="DHcWmd"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="DHcWmd"&gt;Thanks.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 05:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248220#M33140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T05:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248221#M33141</link>
      <description>&lt;P&gt;Edit : My Designer.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LwBX"&gt;ErrorDesigner.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 24 Jul 2019 09:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248221#M33141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-24T09:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248222#M33142</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I found difficult to understand your job design.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here are a few tips:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;you'll be able to use "row5.myVar" if you have a schema with a column named myVar somewhere before the current component in the current flow ; if you use dynamic column, see next point&lt;/LI&gt; 
 &lt;LI&gt;if you have a dynamic column, you can retrieve the name of the column number "i" inside it with something like : row5.dynamicColumn.getColumnMetadata(i).getName() (and the value with row5.dynamicColumn.getColumnValue(i))&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;I must say that I don't understand what your tJavaFlex is supposed to do and I won't be able to help you further without more details.&lt;/P&gt; 
&lt;P&gt;According to your Error1.PNG screenshot, you have no column named "Column". Check that the column name is not in UPPER CASE as all your other columns are.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If you want to read data from a given view and do something with data depending on the column name, you can use the second point above.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 11:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248222#M33142</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-24T11:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248223#M33143</link>
      <description>&lt;P&gt;My&lt;SPAN&gt; tJavaFlex gets all the values ​​for each column of my view. I'm using the free version of Talend&amp;nbsp; so i can't choose dynamic type in my schema.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 13:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248223#M33143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-24T13:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248224#M33144</link>
      <description>&lt;P&gt;Allright, so what are you expecting to have in your row5.Column value?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 13:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248224#M33144</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-24T13:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248225#M33145</link>
      <description>&lt;P&gt;I did : String Column = ColumnView.get(i);&amp;nbsp;&amp;nbsp; &lt;SPAN&gt;because I thought to get the name of the column from the view and thought that : Value = row5.Column; would be the same thing as, for example, Value = row5.Id_View;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where Id_View is a name of a column from my view. I use a tJavaFlex to pass in each column and get data column after column.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 13:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248225#M33145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-24T13:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248226#M33146</link>
      <description>&lt;P&gt;Ok, I get this part.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would like to retrieve the value of a column from the row5 through a variable&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It won't work like that. You might probably manage to achieve what you want using Java Reflection but I don't think this is something I would recommand.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A simple example :&lt;/P&gt;
&lt;PRE&gt;// BEGIN part of the tJavaFlex
Field[] fields = row5Struct.class.getDeclaredFields();

//MAIN code of the tJavaFlex
for (Field field : fields) {
	if (Modifier.isPublic(field.getModifiers())) {
		Object value = field.get(row5);
		System.out.printf("%s : %s%n", field.getName(), value.toString());
	}
}

//IMPORTS
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;&lt;/PRE&gt;
&lt;P&gt;Internally, Talend row structure is defined with a row#Struct class.&lt;/P&gt;
&lt;P&gt;In v6.5.1, public fields of this classe correspond to the column names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Therefore, retrieving the fields from the row5Struct class and iterating over them (filtering the public ones) should allow you to loop over all your columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I think that reflection should not be used except in special cases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you have other options to achieve what you want?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is the final purpose of your job?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 14:25:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248226#M33146</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-24T14:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248227#M33147</link>
      <description>&lt;DIV class="oSioSc"&gt;
 &lt;DIV&gt;
  &lt;DIV class="g9WsWb"&gt;
   &lt;DIV class="tw-ta-container tw-nfl"&gt;
    &lt;P&gt;First I save my ID_Max from my table, then I truncate my table and then I i&lt;SPAN&gt;nsert data from a view into my table. This Job need to be used for differents tables and views so i use context to set the different connection (db,etc). I can't use a tMap because tables have a different format between them. &lt;/SPAN&gt;&lt;/P&gt;
    &lt;P&gt;&lt;SPAN&gt;But my view does not have a primary key or fields that can be used for a join, so I can't use an UPDATE. I'm trying to save each line of my view to do an INSERT like this : &lt;/SPAN&gt;&lt;/P&gt;
    &lt;P&gt;&lt;SPAN&gt;"INSERT INTO "+context.table+" ("+varListColumnTable+") Value ("+valuesView+")"&lt;/SPAN&gt;&lt;/P&gt;
    &lt;P&gt;&lt;SPAN&gt;varListColumnTable = column1, column2, ... ;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
    &lt;P&gt;&lt;SPAN&gt;valuesView = ID_max, valueColumn1Row1, valueColumn2Row1, ... ;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
    &lt;P&gt;&amp;nbsp;&lt;/P&gt;
    &lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
   &lt;/DIV&gt;
  &lt;/DIV&gt;
 &lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Jul 2019 14:58:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248227#M33147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-24T14:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248228#M33148</link>
      <description>&lt;P&gt;For me, it will be hard and not efficient to achieve this purely in Talend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have a view, and you want to insert data from the view into the table, but the job must be able to manage different views with different tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why can't you simply do something similar to this (to be adapted to your specific database language)?&lt;/P&gt;&lt;PRE&gt;INSERT INTO myTable
SELECT ID_Max, v.* FROM myView v&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Jul 2019 16:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248228#M33148</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-24T16:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248229#M33149</link>
      <description>&lt;P&gt;With that query all my ID from my table will take the value ID_Max. My ID_Max need to be incremented for each row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not in my office rigth now, I will keep you informed&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 17:18:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248229#M33149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-24T17:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248230#M33150</link>
      <description>&lt;P&gt;Can't you update your view to increment the ID directly in the view?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 17:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248230#M33150</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-24T17:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248231#M33151</link>
      <description>&lt;P&gt;No I can't because there is no ID from the view. The ID_Table will be&amp;nbsp; ID_MAX (with a :&amp;nbsp;"SELECT&amp;nbsp; MAX(" +context.Table+"."+context.PrimaryKey+") FROM " + context.Table &amp;nbsp; &amp;nbsp; &amp;nbsp; -- and then I truncate the table) +1 . The project manager told me I can't add a column ID in my view ...&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 08:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248231#M33151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-25T08:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248232#M33152</link>
      <description>&lt;P&gt;In that case, can't you set a global variable :&lt;/P&gt;&lt;PRE&gt;id_max="SELECT&amp;nbsp; MAX(" +context.Table+"."+context.PrimaryKey+") FROM " + context.Table&lt;/PRE&gt;&lt;P&gt;Then use the query :&lt;/P&gt;&lt;PRE&gt;"INSERT INTO " + context.Table +"
"SELECT " + (String)globalMap.get("id_max") + ", v.* FROM myView v"&lt;/PRE&gt;&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 10:08:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248232#M33152</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-25T10:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248233#M33153</link>
      <description>&lt;P&gt;But the ID_Max :&lt;/P&gt;&lt;PRE&gt;(String)globalMap.get("id_max")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;will have the same value for each row rigth?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 10:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248233#M33153</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-25T10:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248234#M33154</link>
      <description>&lt;P&gt;I just take that code from your previous post :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The ID_Table will be&amp;nbsp; ID_MAX (with a :&amp;nbsp;"SELECT&amp;nbsp; MAX(" +context.Table+"."+context.PrimaryKey+") FROM " + context.Table &amp;nbsp; &amp;nbsp; &amp;nbsp; -- and then I truncate the table) +1&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand from your previous posts how you may have a list of ID_Max different for each rows and then link that ID_Max value to the data you want to insert.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 13:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248234#M33154</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-25T13:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248235#M33155</link>
      <description>&lt;P&gt;I have different ID for each row of my table. I just save th max ID before I truncate it because I need to Insert data from the view in my table. BUT I need to give ID for each row of view AND this ID need to be the ID max from my table &lt;STRONG&gt;+1&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;P&gt;- I have 3 rows in my table with data, so 3 ID : 1 ; 2 ; 3&lt;/P&gt;&lt;P&gt;ID | Val1 | Val2 etc&lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;P&gt;1 | myData | myData&lt;/P&gt;&lt;P&gt;2 | myData | myData&lt;/P&gt;&lt;P&gt;3 | myData | myData&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I save with the query the ID max in my context var ID_MAX ( so 3)&lt;/P&gt;&lt;P&gt;- Then I truncate the table.&lt;/P&gt;&lt;P&gt;- And I insert data from my view : 4 rows + my ID_MAX incremented for each row.&lt;/P&gt;&lt;P&gt;- So I will have in my table:&lt;/P&gt;&lt;P&gt;ID | &amp;nbsp;&amp;nbsp; Val1&amp;nbsp;&amp;nbsp; | Val2 etc&lt;/P&gt;&lt;P&gt;--------------------------------&lt;/P&gt;&lt;P&gt;4&amp;nbsp; |dataView| dataView&lt;/P&gt;&lt;P&gt;5&amp;nbsp; |dataView| dataView&lt;/P&gt;&lt;P&gt;6&amp;nbsp; |dataView| dataView&lt;/P&gt;&lt;P&gt;7&amp;nbsp; |dataView| dataView&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 13:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248235#M33155</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-25T13:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248236#M33156</link>
      <description>&lt;P&gt;Any reason for not using database sequence? &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What if you do :&lt;/P&gt; 
&lt;PRE&gt;"INSERT INTO " + context.Table +"
"SELECT " + (String)globalMap.get("id_max") + " + ROW_NUMBER() over (ORDER BY &amp;lt;put whatever column you want to sort on&amp;gt;), v.* FROM myView v"&lt;/PRE&gt; 
&lt;P&gt;?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;ROW_NUMBER or whatever your database uses is a function that will return a unique row number in the result set.&lt;/P&gt; 
&lt;P&gt;You'll probably have to specify an OVER(ORDER BY...) clause to use it: as you don't care about the order, you can use any column to sort on.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The code above should insert into your table the data from the view with an ID starting from your max id and incrementing the value by 1 on each row thanks to the + ROW_NUMBER()&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248236#M33156</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-25T14:37:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248237#M33157</link>
      <description>&lt;P&gt;I don't have the same column between View (39) and Table (43).&lt;/P&gt;&lt;P&gt;So i get this exception&lt;/P&gt;&lt;P&gt;java.sql.SQLSyntaxErrorException: ORA-00947: not enough values.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 15:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248237#M33157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-25T15:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248238#M33158</link>
      <description>&lt;P&gt;I'm sorry but I won't be able to help you further without more details!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You wrote : &lt;EM&gt;"First I save my ID_Max from my table, then I truncate my table and then I insert data from a view into my table."&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I presumed that your view have the same column than the table minus the ID ; if that's not the case, you should know how to map the columns from the view into the columns of the table.&lt;/P&gt; 
&lt;P&gt;I (or anybody else) won't be able to guess that &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 15:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248238#M33158</guid>
      <dc:creator>lennelei</dc:creator>
      <dc:date>2019-07-25T15:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using var like Row.MyVar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248239#M33159</link>
      <description>&lt;P&gt;The problem is not to map these columns. &lt;SPAN&gt;I have to do this without knowing the structure of the tables. I just have the name of the database server and the tables / views. I know the name of column of table and view with a SYS View. With a tJava i know how many and which column from table is not in the view.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;AND .... all of this have to work for different table and view.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I created arrayList for:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Name Column Table&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Name Column View&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Name Column Not in View&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;What I try is to hold data from my view, row by row in an arraylist in a tJavaFlex like :&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture0.PNG" style="width: 503px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6M3.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132600iDCD577E75E194E92/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6M3.png" alt="0683p000009M6M3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;But for the line String value = row.CODE , I want the value for each row, because I will have only CODE.&lt;/P&gt; 
&lt;P&gt;So I did that :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 809px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6HN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142794i2A64C9058326F71D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6HN.png" alt="0683p000009M6HN.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;With a schema like :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schema0.PNG" style="width: 978px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6Bi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154390i0A47FBDD03F11046/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6Bi.png" alt="0683p000009M6Bi.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I have &lt;STRONG&gt;800&lt;/STRONG&gt; rows in my view, but I only get in my arrayList the &lt;STRONG&gt;first&lt;/STRONG&gt; value of &lt;STRONG&gt;first&lt;/STRONG&gt; column AND only &lt;STRONG&gt;39&lt;/STRONG&gt; times (the number of columns of my view).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;With a schema like (I add vColumn at the end):&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="schema.PNG" style="width: 844px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6MD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147540i86D9F80D753A4410/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6MD.png" alt="0683p000009M6MD.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I have &lt;STRONG&gt;800&lt;/STRONG&gt; rows in my view, but I only get &lt;STRONG&gt;NULL&lt;/STRONG&gt; value &lt;STRONG&gt;39&lt;/STRONG&gt; times.&lt;/P&gt; 
&lt;P&gt;For the 39 problem it's because I use the wrong var so don't mind about it.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 16:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-var-like-Row-MyVar/m-p/2248239#M33159</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-25T16:32:46Z</dc:date>
    </item>
  </channel>
</rss>

