<?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: Export table data to flat file in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084181#M92974</link>
    <description>google turns up many suggestions on how to perform the unload.  a couple are here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://asktom.oracle.com/tkyte/flat/index.html" target="_blank"&gt;http://asktom.oracle.com/tkyte/flat/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.withdata.com/oracmd_unload.html" target="_blank"&gt;http://www.withdata.com/oracmd_unload.html&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 13 Dec 2007 15:08:10 GMT</pubDate>
    <dc:creator>OldSchool</dc:creator>
    <dc:date>2007-12-13T15:08:10Z</dc:date>
    <item>
      <title>Export table data to flat file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084178#M92971</link>
      <description>Hi,&lt;BR /&gt;I have an oracle db installed in a unix system. I want the table data to be exported to a flat file.The fields in the flat file need to be "PIPE separated". &lt;BR /&gt;Please let me know how to go about using bash shells. I have tried the reverse procedure (sql loaders).</description>
      <pubDate>Thu, 13 Dec 2007 14:57:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084178#M92971</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2007-12-13T14:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Export table data to flat file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084179#M92972</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Well, if you already have whitespace (spaces and tab) delimited data, simply do:&lt;BR /&gt;&lt;BR /&gt;# perl -nale 'print join "|",@F' file&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 13 Dec 2007 15:03:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084179#M92972</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-12-13T15:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Export table data to flat file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084180#M92973</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;Thanks for your reply,that was very fast. I am not so well versed in perl,can you explain this using bash scripting</description>
      <pubDate>Thu, 13 Dec 2007 15:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084180#M92973</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2007-12-13T15:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Export table data to flat file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084181#M92974</link>
      <description>google turns up many suggestions on how to perform the unload.  a couple are here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://asktom.oracle.com/tkyte/flat/index.html" target="_blank"&gt;http://asktom.oracle.com/tkyte/flat/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.withdata.com/oracmd_unload.html" target="_blank"&gt;http://www.withdata.com/oracmd_unload.html&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Dec 2007 15:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084181#M92974</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2007-12-13T15:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export table data to flat file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084182#M92975</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Well, in Perl, this reads your input file ('-n') and automatically splits each record into whitespace-delimited fields ('-a') into an array called '@F'.  The fields of @F are then printed using the 'join' operator and a pipe delimiter.  The '-l' switch adds a newline to each record as it is printed.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 13 Dec 2007 15:11:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084182#M92975</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-12-13T15:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Export table data to flat file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084183#M92976</link>
      <description>Well,&lt;BR /&gt;&lt;BR /&gt;this might help:&lt;BR /&gt;&lt;A href="http://www.orafaq.com/faqloadr.htm#UNLOAD" target="_blank"&gt;http://www.orafaq.com/faqloadr.htm#UNLOAD&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;but you may have to substitute&lt;BR /&gt;&lt;BR /&gt;select col1 || ',' || col2 || ',' || col3&lt;BR /&gt;&lt;BR /&gt;with&lt;BR /&gt;&lt;BR /&gt;select col1 || '|' || col2 || '|' || col3&lt;BR /&gt;&lt;BR /&gt;to get a pipe-delimited result.&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;Volker</description>
      <pubDate>Thu, 13 Dec 2007 15:22:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084183#M92976</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2007-12-13T15:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Export table data to flat file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084184#M92977</link>
      <description>Hi Raju&lt;BR /&gt;&lt;BR /&gt;Check following url&lt;BR /&gt;&lt;A href="http://www.oracle-bse.com/articles/9i/GeneratingCSVFiles.php" target="_blank"&gt;http://www.oracle-bse.com/articles/9i/GeneratingCSVFiles.php&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;utl_file is excellent for this issue.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Murat&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Dec 2007 19:46:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084184#M92977</guid>
      <dc:creator>Murat SULUHAN</dc:creator>
      <dc:date>2007-12-13T19:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Export table data to flat file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084185#M92978</link>
      <description>Hello everybody,&lt;BR /&gt;Thanks my is Problem solved -used the utl package in plsql&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Gyan</description>
      <pubDate>Mon, 31 Dec 2007 11:53:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084185#M92978</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2007-12-31T11:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Export table data to flat file</title>
      <link>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084186#M92979</link>
      <description>Problem solved</description>
      <pubDate>Tue, 01 Jan 2008 06:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/export-table-data-to-flat-file/m-p/5084186#M92979</guid>
      <dc:creator>Gyankr</dc:creator>
      <dc:date>2008-01-01T06:31:12Z</dc:date>
    </item>
  </channel>
</rss>

