<?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: Dynamic Database Connection using Context in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304333#M76121</link>
    <description>Hi Madhu,
&lt;BR /&gt;"SELECT *... your query goes here FROM "+context.db+"."+context.tablename
&lt;BR /&gt;This is the way you can pass the values of context variable in query.
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
    <pubDate>Tue, 15 Apr 2014 10:52:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-04-15T10:52:39Z</dc:date>
    <item>
      <title>Dynamic Database Connection using Context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304327#M76115</link>
      <description>Hi All, 
&lt;BR /&gt;I am new to Talend tool. I try to use dynamic database connection using context. I added all the connection details in the context variable and inside job i used tOracleInput component, inside the query box i added my sql query and added the context variables in the corresponding controls and try to run the job. but getting an error as " table or view doesn't exists" 
&lt;BR /&gt;Please find the attached screenshot 
&lt;BR /&gt;Please kindly do the needful 
&lt;BR /&gt;Waiting for answer 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Madhu 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDj5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135298iACD2B19F18A1BA55/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDj5.jpg" alt="0683p000009MDj5.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 14 Apr 2014 14:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304327#M76115</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T14:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Database Connection using Context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304328#M76116</link>
      <description>If i add an schema name before table name then it working fine (i.e. select * from db.employee). but i dont want to add the schema name because my qa database schema is different so i need to do it dynamically&lt;BR /&gt;Please suggest me how to proceed&lt;BR /&gt;Thanks&lt;BR /&gt;Madhu</description>
      <pubDate>Mon, 14 Apr 2014 14:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304328#M76116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T14:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Database Connection using Context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304329#M76117</link>
      <description>Hi Madhu, 
&lt;BR /&gt;Screenshot is not clear. Your error is simply says that the table or view which is referred in the query does not exists. Check your query again with the database connection. It is good to use connection component before using input component. 
&lt;BR /&gt;Regarding dynamic database connection, whether the connection parameters are selected from property file which is changing continuously based on some value? from where and how this dynamic value is changing? 
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Mon, 14 Apr 2014 14:18:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304329#M76117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T14:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Database Connection using Context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304330#M76118</link>
      <description>Hi sanvaibhav, 
&lt;BR /&gt;Please find the screenshot. 
&lt;BR /&gt;If i add an schema name before table name then it working fine (i.e. select * from db.employee). 
&lt;BR /&gt;but i dont want to add the schema name because my qa database schema is different so i need to do it dynamically 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDjA.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128264i530FD2BCE47821D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDjA.jpg" alt="0683p000009MDjA.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 14 Apr 2014 14:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304330#M76118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-14T14:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Database Connection using Context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304331#M76119</link>
      <description>Hi Madhu,
&lt;BR /&gt;Concept of dynamic means - a query or a result set which changes run-time based on some other input value. Schema name is must, if you don't want to hard code it, how you are planning to embed in the query?
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Tue, 15 Apr 2014 06:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304331#M76119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-15T06:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Database Connection using Context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304332#M76120</link>
      <description>I am using context variable, its having db connetion details and schema name. using context, we not able to pass schema value?</description>
      <pubDate>Tue, 15 Apr 2014 10:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304332#M76120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-15T10:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Database Connection using Context</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304333#M76121</link>
      <description>Hi Madhu,
&lt;BR /&gt;"SELECT *... your query goes here FROM "+context.db+"."+context.tablename
&lt;BR /&gt;This is the way you can pass the values of context variable in query.
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Tue, 15 Apr 2014 10:52:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-Database-Connection-using-Context/m-p/2304333#M76121</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-15T10:52:39Z</dc:date>
    </item>
  </channel>
</rss>

