<?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 Sql Loader Help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-loader-help/m-p/2606880#M853646</link>
    <description>Hai All,&lt;BR /&gt;&lt;BR /&gt;I have a text file which contains the data to be inserted into table called INFO..&lt;BR /&gt;   &lt;BR /&gt;I have attached that txt file for reference.&lt;BR /&gt;I want to insert the data into the following table INFO into 6 different columns &lt;BR /&gt;&lt;BR /&gt;Create table info&lt;BR /&gt;(a number,&lt;BR /&gt; b number&lt;BR /&gt; c number&lt;BR /&gt; d number&lt;BR /&gt; e number&lt;BR /&gt; f number);&lt;BR /&gt;&lt;BR /&gt;For Eg:&lt;BR /&gt;-----------&lt;BR /&gt;&lt;BR /&gt;4       2         120     106      24.07       43&lt;BR /&gt;442   2          106     104      20.49       35&lt;BR /&gt;&lt;BR /&gt;using SQL LOADER&lt;BR /&gt;&lt;BR /&gt;Any help is Appretiated..&lt;BR /&gt;&lt;BR /&gt;B/Regds&lt;BR /&gt;Raj</description>
    <pubDate>Sat, 03 Nov 2001 10:35:16 GMT</pubDate>
    <dc:creator>Rajkumar_3</dc:creator>
    <dc:date>2001-11-03T10:35:16Z</dc:date>
    <item>
      <title>Sql Loader Help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-loader-help/m-p/2606880#M853646</link>
      <description>Hai All,&lt;BR /&gt;&lt;BR /&gt;I have a text file which contains the data to be inserted into table called INFO..&lt;BR /&gt;   &lt;BR /&gt;I have attached that txt file for reference.&lt;BR /&gt;I want to insert the data into the following table INFO into 6 different columns &lt;BR /&gt;&lt;BR /&gt;Create table info&lt;BR /&gt;(a number,&lt;BR /&gt; b number&lt;BR /&gt; c number&lt;BR /&gt; d number&lt;BR /&gt; e number&lt;BR /&gt; f number);&lt;BR /&gt;&lt;BR /&gt;For Eg:&lt;BR /&gt;-----------&lt;BR /&gt;&lt;BR /&gt;4       2         120     106      24.07       43&lt;BR /&gt;442   2          106     104      20.49       35&lt;BR /&gt;&lt;BR /&gt;using SQL LOADER&lt;BR /&gt;&lt;BR /&gt;Any help is Appretiated..&lt;BR /&gt;&lt;BR /&gt;B/Regds&lt;BR /&gt;Raj</description>
      <pubDate>Sat, 03 Nov 2001 10:35:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-loader-help/m-p/2606880#M853646</guid>
      <dc:creator>Rajkumar_3</dc:creator>
      <dc:date>2001-11-03T10:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sql Loader Help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-loader-help/m-p/2606881#M853647</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;how about first processing this file through sed or awk, and replacing all '-&amp;gt;' and ':' by whitespace??  Afterwards you can use a very simple sql loader control file (fields seperated by whitespace).&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Sat, 03 Nov 2001 11:08:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-loader-help/m-p/2606881#M853647</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-11-03T11:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sql Loader Help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-loader-help/m-p/2606882#M853648</link>
      <description>Hai,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply..Presently this database is running on NT.&lt;BR /&gt;&lt;BR /&gt;Is there any alternative method???&lt;BR /&gt;&lt;BR /&gt;B/Regds&lt;BR /&gt;Raj</description>
      <pubDate>Sat, 03 Nov 2001 11:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-loader-help/m-p/2606882#M853648</guid>
      <dc:creator>Rajkumar_3</dc:creator>
      <dc:date>2001-11-03T11:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sql Loader Help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-loader-help/m-p/2606883#M853649</link>
      <description>hi,&lt;BR /&gt;how about a perl script then ?&lt;BR /&gt;&lt;BR /&gt;You could try this, I'll use the '&amp;gt;' as a separator, and consider the '-' as a negative sign, and then use its absolute value:&lt;BR /&gt;&lt;BR /&gt;LOAD DATA&lt;BR /&gt;INFILE 'yourfile'&lt;BR /&gt;APPEND&lt;BR /&gt;INTO TABLE info&lt;BR /&gt;FIELDS TERMINATED BY whitespace&lt;BR /&gt;(a integer external terminated by '&amp;gt;' "abs(:a)" ,&lt;BR /&gt;b,&lt;BR /&gt;c terminated by ':',&lt;BR /&gt;d,&lt;BR /&gt;e,&lt;BR /&gt;f)&lt;BR /&gt;&lt;BR /&gt;hmmm, not sure about the whole syntax, but gives you something to play with :)&lt;BR /&gt;&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Sat, 03 Nov 2001 12:10:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-loader-help/m-p/2606883#M853649</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-11-03T12:10:08Z</dc:date>
    </item>
  </channel>
</rss>

