<?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: tDBRow - PreparedStatement in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/tDBRow-PreparedStatement/m-p/2265521#M2078</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;The tXXXRow component is usually used to any type of sql statement excepts select statement,&amp;nbsp; we use txxxInput component to execute a select statement, if you use use tXXXRow to execute a select statement, it returns a record set, and you are required to use a tParseRecordSet component after tXXXRow to parse the record sets.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Tue, 03 Dec 2019 08:40:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-03T08:40:14Z</dc:date>
    <item>
      <title>tDBRow - PreparedStatement</title>
      <link>https://community.qlik.com/t5/Data-Quality/tDBRow-PreparedStatement/m-p/2265520#M2077</link>
      <description>&lt;P&gt;Hi !&lt;/P&gt; 
&lt;P&gt;I need to extract data from a JDBC database using a SQL query. When I use a tDBInput component as below it works well :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 434px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8GJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153225iAD1E378D6114EB9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8GJ.png" alt="0683p000009M8GJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;It means that my connection and my query work and are correct.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now I want to add a bound parameter to my query, so I must replace tDBInput with tDBRow to access the PreparedStatement section where I can fill in my parameter. My new job is then :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 462px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8GO.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138744i27A3A436A591B334/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8GO.png" alt="0683p000009M8GO.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;But it's not working anymore, I'm getting null values for all columns as result.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here is my query :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.PNG" style="width: 335px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M89i.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152063i24CA5BE9B7EBBB3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M89i.png" alt="0683p000009M89i.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;And here my PreparedStatement section :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.PNG" style="width: 876px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7ug.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146598i191D5C6F5023B19D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7ug.png" alt="0683p000009M7ug.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;One last thing : when I run the job using tDBRow with the parameter value directly in my query as below, I get null results as well... :&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.PNG" style="width: 347px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7x6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143402i5F2F2E0EE31D0CED/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7x6.png" alt="0683p000009M7x6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Can Someone please help me ?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/tDBRow-PreparedStatement/m-p/2265520#M2077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: tDBRow - PreparedStatement</title>
      <link>https://community.qlik.com/t5/Data-Quality/tDBRow-PreparedStatement/m-p/2265521#M2078</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;The tXXXRow component is usually used to any type of sql statement excepts select statement,&amp;nbsp; we use txxxInput component to execute a select statement, if you use use tXXXRow to execute a select statement, it returns a record set, and you are required to use a tParseRecordSet component after tXXXRow to parse the record sets.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2019 08:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/tDBRow-PreparedStatement/m-p/2265521#M2078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T08:40:14Z</dc:date>
    </item>
  </channel>
</rss>

