<?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: Check database SQL Statement? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/check-database-sql-statement/m-p/2672276#M916385</link>
    <description>Hello Jacky,&lt;BR /&gt;&lt;BR /&gt;There is a file /etc/oratab which gives information about the database instances on the machine.&lt;BR /&gt;&lt;BR /&gt;It contains 1 line for each instance, with 3 fields on each line.&lt;BR /&gt;1st field is the SID name&lt;BR /&gt;2nd field is the Oracle home directory&lt;BR /&gt;3rd field is Y or N for whether database should be started when machine is booted&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;John</description>
    <pubDate>Wed, 27 Feb 2002 08:58:05 GMT</pubDate>
    <dc:creator>John Strang</dc:creator>
    <dc:date>2002-02-27T08:58:05Z</dc:date>
    <item>
      <title>Check database SQL Statement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-database-sql-statement/m-p/2672274#M916383</link>
      <description>Dear All,&lt;BR /&gt;&lt;BR /&gt;Any one know the SQL statement if I want to check how many database, what database, what table inside the database and the owner of database inside the oracle DB server?&lt;BR /&gt;&lt;BR /&gt;Thousand thanks!&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Feb 2002 07:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-database-sql-statement/m-p/2672274#M916383</guid>
      <dc:creator>Jacky Wong_1</dc:creator>
      <dc:date>2002-02-27T07:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Check database SQL Statement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-database-sql-statement/m-p/2672275#M916384</link>
      <description>Hi,&lt;BR /&gt;At the o/s level (unix) you can know how many database instances are running by follwing command &lt;BR /&gt;&lt;BR /&gt;$ ps -ef | grep pmon&lt;BR /&gt;--- It gives you the SID of all the database instances, which are running now.&lt;BR /&gt;&lt;BR /&gt;Generally the owner of database will be Oracle.&lt;BR /&gt;goto&lt;BR /&gt;# su - oracle&lt;BR /&gt;# ls -lt &lt;BR /&gt;&lt;BR /&gt;If you want to know, what tables the database containts, then you'll have to login to database.&lt;BR /&gt;&lt;BR /&gt;$ sqlplus username/password@connect_string&lt;BR /&gt;or &lt;BR /&gt;$ sqlplus username/password&lt;BR /&gt;&lt;BR /&gt;sqlplus&amp;gt; select * from user_tables;&lt;BR /&gt;&lt;BR /&gt;Hope, it may helps you!!!&lt;BR /&gt;Regards&lt;BR /&gt;Syed</description>
      <pubDate>Wed, 27 Feb 2002 08:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-database-sql-statement/m-p/2672275#M916384</guid>
      <dc:creator>Shahbaz_1</dc:creator>
      <dc:date>2002-02-27T08:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Check database SQL Statement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-database-sql-statement/m-p/2672276#M916385</link>
      <description>Hello Jacky,&lt;BR /&gt;&lt;BR /&gt;There is a file /etc/oratab which gives information about the database instances on the machine.&lt;BR /&gt;&lt;BR /&gt;It contains 1 line for each instance, with 3 fields on each line.&lt;BR /&gt;1st field is the SID name&lt;BR /&gt;2nd field is the Oracle home directory&lt;BR /&gt;3rd field is Y or N for whether database should be started when machine is booted&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Wed, 27 Feb 2002 08:58:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-database-sql-statement/m-p/2672276#M916385</guid>
      <dc:creator>John Strang</dc:creator>
      <dc:date>2002-02-27T08:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Check database SQL Statement?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/check-database-sql-statement/m-p/2672277#M916386</link>
      <description>Hi there.&lt;BR /&gt;Did you try to get the Oracle Enterprise Manager ? This tool ( standard no extra packages ) should help to find and log all the necessary info.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
      <pubDate>Wed, 27 Feb 2002 09:08:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/check-database-sql-statement/m-p/2672277#M916386</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2002-02-27T09:08:09Z</dc:date>
    </item>
  </channel>
</rss>

