<?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: How to get only header or  column names alone in Output file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-only-header-or-column-names-alone-in-Output-file/m-p/2376911#M138926</link>
    <description>why don't you hit the system table and get the column information,
&lt;BR /&gt;
&lt;BR /&gt;SELECT COLUMN_NAME,*
&lt;BR /&gt;FROM INFORMATION_SCHEMA.COLUMNS
&lt;BR /&gt;WHERE TABLE_NAME = 'YourTableName' AND TABLE_SCHEMA='YourSchemaName'
&lt;BR /&gt;</description>
    <pubDate>Tue, 12 Jun 2018 22:18:56 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-12T22:18:56Z</dc:date>
    <item>
      <title>How to get only header or  column names alone in Output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-only-header-or-column-names-alone-in-Output-file/m-p/2376910#M138925</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a scenario where i want to read data from DB table&amp;nbsp; and put the&amp;nbsp; column headers of the Table alone in the output file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have below components used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tMSSQLInput(Dynamic data Type) --- tfileoutputdelimited&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But When i process this, I'm getting headers and also data from the table, I dont want data from the table, I just want to read the columns present in the table and print in an Output file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Mahesh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2018 20:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-only-header-or-column-names-alone-in-Output-file/m-p/2376910#M138925</guid>
      <dc:creator>MaheswarReddy</dc:creator>
      <dc:date>2018-06-12T20:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get only header or  column names alone in Output file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-get-only-header-or-column-names-alone-in-Output-file/m-p/2376911#M138926</link>
      <description>why don't you hit the system table and get the column information,
&lt;BR /&gt;
&lt;BR /&gt;SELECT COLUMN_NAME,*
&lt;BR /&gt;FROM INFORMATION_SCHEMA.COLUMNS
&lt;BR /&gt;WHERE TABLE_NAME = 'YourTableName' AND TABLE_SCHEMA='YourSchemaName'
&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Jun 2018 22:18:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-get-only-header-or-column-names-alone-in-Output-file/m-p/2376911#M138926</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-12T22:18:56Z</dc:date>
    </item>
  </channel>
</rss>

