<?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: Sqlplus_Oracle8i in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502506#M846261</link>
    <description>This works - but it's dirty!!!  If your version number changes, it'll stop working:&lt;BR /&gt;&lt;BR /&gt;cat /tmp/output | awk -F"-" {'print $2'} | cut -c2- | awk -F"8.1" {'print $1"\t8.1"$2'}&lt;BR /&gt;&lt;BR /&gt;Keith</description>
    <pubDate>Fri, 11 Mar 2005 07:02:08 GMT</pubDate>
    <dc:creator>Keith Bryson</dc:creator>
    <dc:date>2005-03-11T07:02:08Z</dc:date>
    <item>
      <title>Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502494#M846249</link>
      <description>SELECT '-',banner from v$version WHERE banner LIKE '% 8.%';&lt;BR /&gt; &lt;BR /&gt;- Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production&lt;BR /&gt;- PL/SQL Release 8.1.7.4.0 - Production&lt;BR /&gt;- TNS for Solaris: Version 8.1.7.4.0 - Production&lt;BR /&gt;&lt;BR /&gt;but i need the output as&lt;BR /&gt;&lt;BR /&gt;Oracle8i Enterprise Edition Release          8.1.7.4.0&lt;BR /&gt;PL/SQL Release              8.1.7.4.0&lt;BR /&gt;TNS for Solaris: Version   8.1.7.4.0&lt;BR /&gt;What i have to do ?</description>
      <pubDate>Fri, 11 Mar 2005 04:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502494#M846249</guid>
      <dc:creator>Arun_39</dc:creator>
      <dc:date>2005-03-11T04:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502495#M846250</link>
      <description>If you can get the original output to a Unix file (/tmp/output for example) try:&lt;BR /&gt;&lt;BR /&gt;cat /tmp/output | awk -F"-" {'print $2'} | cut -c2-&lt;BR /&gt;&lt;BR /&gt;I don't know of a way in SQL - someone else may though.&lt;BR /&gt;&lt;BR /&gt;Keith</description>
      <pubDate>Fri, 11 Mar 2005 04:28:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502495#M846250</guid>
      <dc:creator>Keith Bryson</dc:creator>
      <dc:date>2005-03-11T04:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502496#M846251</link>
      <description>Arun,&lt;BR /&gt;I don't know much about Sqlplus, but on Sybase ASE query we could achieve this.&lt;BR /&gt;&lt;BR /&gt;Why don't you look into the sql guide and see if there is some string manipulation that can be done in the query using sqlplus.&lt;BR /&gt;&lt;BR /&gt;Within the query we would output to a string and then do string manipulation before outputting..all in one sql statement &lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;Mobeen</description>
      <pubDate>Fri, 11 Mar 2005 04:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502496#M846251</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2005-03-11T04:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502497#M846252</link>
      <description>Hi Mobeen,&lt;BR /&gt;&lt;BR /&gt;I am searching the same for last one hour.&lt;BR /&gt;but i didnt get.&lt;BR /&gt;Help me, if u have time.</description>
      <pubDate>Fri, 11 Mar 2005 04:46:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502497#M846252</guid>
      <dc:creator>Arun_39</dc:creator>
      <dc:date>2005-03-11T04:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502498#M846253</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;try either of:&lt;BR /&gt;&lt;BR /&gt;select replace(banner,' - Production','') from v$version&lt;BR /&gt;where  banner LIKE '% 8.%' &lt;BR /&gt;&lt;BR /&gt;or:&lt;BR /&gt;select replace(replace(banner,' - Production',''),'Production','') from v$version&lt;BR /&gt;where  banner LIKE '% 8.%' &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 11 Mar 2005 04:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502498#M846253</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-03-11T04:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502499#M846254</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;why did you include '-' to your sql statement?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 11 Mar 2005 04:51:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502499#M846254</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-03-11T04:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502500#M846255</link>
      <description>Yogee,&lt;BR /&gt;You are the man !! No wonder you have a crown :)&lt;BR /&gt;&lt;BR /&gt;I think replace should do the trick :), i know all these SQLs subscribe to ANSI and i should have figured that out ...&lt;BR /&gt;&lt;BR /&gt;Unfortunately i have nothing to test ... &lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Fri, 11 Mar 2005 04:52:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502500#M846255</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2005-03-11T04:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502501#M846256</link>
      <description>Apparently, talking to our DBAs here, you can do:&lt;BR /&gt;&lt;BR /&gt;spool /tmp/output&lt;BR /&gt;run your SELECT statement&lt;BR /&gt;spool off&lt;BR /&gt;&lt;BR /&gt;Then at Unix:&lt;BR /&gt;&lt;BR /&gt;cat /tmp/output | awk -F"-" {'print $2'} | cut -c2-&lt;BR /&gt;&lt;BR /&gt;HTH - Keith</description>
      <pubDate>Fri, 11 Mar 2005 04:53:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502501#M846256</guid>
      <dc:creator>Keith Bryson</dc:creator>
      <dc:date>2005-03-11T04:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502502#M846257</link>
      <description>Arun,&lt;BR /&gt;Yogeeraj's sqlplus will work.&lt;BR /&gt;Just be aware of the 64bit addition in the banner, if you ever convert to 64bit.&lt;BR /&gt;Regards</description>
      <pubDate>Fri, 11 Mar 2005 04:54:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502502#M846257</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-03-11T04:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502503#M846258</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;it's working fine.&lt;BR /&gt;is it possible to print like this&lt;BR /&gt;&lt;BR /&gt;Oracle8i Enterprise Edition Release 8.1.7.4.0&lt;BR /&gt;PL/SQL Release &lt;TABSPACE&gt;  8.1.7.4.0&lt;BR /&gt;TNS for Solaris: Version &lt;TABSPACE&gt;8.1.7.4.0&lt;BR /&gt;&lt;BR /&gt;that is like table format.&lt;BR /&gt;&lt;NAME&gt; &lt;VERSION number=""&gt;&lt;BR /&gt;&lt;NAME1&gt; &lt;VERSION number=""&gt;&lt;BR /&gt;i.e Align format ?&lt;BR /&gt;&lt;BR /&gt;&lt;/VERSION&gt;&lt;/NAME1&gt;&lt;/VERSION&gt;&lt;/NAME&gt;&lt;/TABSPACE&gt;&lt;/TABSPACE&gt;</description>
      <pubDate>Fri, 11 Mar 2005 05:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502503#M846258</guid>
      <dc:creator>Arun_39</dc:creator>
      <dc:date>2005-03-11T05:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502504#M846259</link>
      <description>hi Bryson,&lt;BR /&gt;urs is working fine.&lt;BR /&gt;&lt;BR /&gt;i need the output as align format.&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Mar 2005 05:28:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502504#M846259</guid>
      <dc:creator>Arun_39</dc:creator>
      <dc:date>2005-03-11T05:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502505#M846260</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;you can use chr(9)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for instance, one easy way would be, assuming  the version is always 8.1.7.4.0, you can do a replace of 8.1.7.4.0 with chr(9)||'8.1.7.4.0'...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;nb. chr(9) = tab character&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 11 Mar 2005 06:05:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502505#M846260</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-03-11T06:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sqlplus_Oracle8i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502506#M846261</link>
      <description>This works - but it's dirty!!!  If your version number changes, it'll stop working:&lt;BR /&gt;&lt;BR /&gt;cat /tmp/output | awk -F"-" {'print $2'} | cut -c2- | awk -F"8.1" {'print $1"\t8.1"$2'}&lt;BR /&gt;&lt;BR /&gt;Keith</description>
      <pubDate>Fri, 11 Mar 2005 07:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sqlplus-oracle8i/m-p/3502506#M846261</guid>
      <dc:creator>Keith Bryson</dc:creator>
      <dc:date>2005-03-11T07:02:08Z</dc:date>
    </item>
  </channel>
</rss>

