<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Oracle Forum RSS Feed (Replies Included)</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the 'Oracle' forum at Programmer's Heaven, including replies.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Tue, 18 Jun 2013 20:28:15 -0700</pubDate>
    <lastBuildDate>Tue, 18 Jun 2013 20:28:15 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Slow running query doing full table scan</title>
      <link>http://www.programmersheaven.com/mb/oracle/429258/429258/slow-running-query-doing-full-table-scan/</link>
      <description>I’m Using Oracle 11.&lt;br /&gt;
&lt;br /&gt;
I desperately need help with a query that is running too slow - it's a very simple problem. I have a table with 16 million rows and an index (let's call it the employee table with an index on department). I need to select all the employees whose departments are located in the uk. I achieve this by selecting all the department numbers from departments where location = 'UK' in a sub select then plug this into the main query as follows:&lt;br /&gt;
&lt;br /&gt;
SELECT    *&lt;br /&gt;
    FROM   employees&lt;br /&gt;
  WHERE   department IN (SELECT department from departments where location = 'UK');&lt;br /&gt;
&lt;br /&gt;
It takes ages, 25 seconds or more, the explain plan shows its doing a full table scan on emplyees. I need it to use the index. The sub query is instant and returns only 5 rows. If I explicitly put the 5 numbers in the IN clause the query uses the index and executes in 0.04 seconds. See below:&lt;br /&gt;
&lt;br /&gt;
SELECT    *&lt;br /&gt;
    FROM   employees&lt;br /&gt;
  WHERE   department IN (1,2,3,4,5);&lt;br /&gt;
&lt;br /&gt;
This is so frustrating, please can anyone help, I need it to use the subquery once and then use the index on the main table.&lt;br /&gt;
&lt;br /&gt;
Many thanks.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/429258/429258/slow-running-query-doing-full-table-scan/</guid>
      <pubDate>Sat, 18 Aug 2012 07:09:23 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Slow running query doing full table scan</title>
      <link>http://www.programmersheaven.com/mb/oracle/429257/429257/slow-running-query-doing-full-table-scan/</link>
      <description>I’m Using Oracle 11.&lt;br /&gt;
&lt;br /&gt;
I desperately need help with a query that is running too slow - it's a very simple problem. I have a table with 16 million rows and an index (let's call it the employee table with an index on department). I need to select all the employees whose departments are located in the uk. I achieve this by selecting all the department numbers from departments where location = 'UK' in a sub select then plug this into the main query as follows:&lt;br /&gt;
&lt;br /&gt;
SELECT    *&lt;br /&gt;
    FROM   employees&lt;br /&gt;
  WHERE   department IN (SELECT department from departments where location = 'UK');&lt;br /&gt;
&lt;br /&gt;
It takes ages, 25 seconds or more, the explain plan shows its doing a full table scan on emplyees. I need it to use the index. The sub query is instant and returns only 5 rows. If I explicitly put the 5 numbers in the IN clause the query uses the index and executes in 0.04 seconds. See below:&lt;br /&gt;
&lt;br /&gt;
SELECT    *&lt;br /&gt;
    FROM   employees&lt;br /&gt;
  WHERE   department IN (1,2,3,4,5);&lt;br /&gt;
&lt;br /&gt;
This is so frustrating, please can anyone help, I need it to use the subquery once and then use the index on the main table.&lt;br /&gt;
&lt;br /&gt;
Many thanks.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/429257/429257/slow-running-query-doing-full-table-scan/</guid>
      <pubDate>Sat, 18 Aug 2012 07:06:31 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: How to display Oracle version currently running?</title>
      <link>http://www.programmersheaven.com/mb/oracle/101111/426888/re-how-to-display-oracle-version-currently-running/#426888</link>
      <description>Try this.&lt;br /&gt;
&lt;br /&gt;
Select * from v$version; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/101111/426888/re-how-to-display-oracle-version-currently-running/#426888</guid>
      <pubDate>Fri, 20 Jan 2012 03:13:42 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Count rows without SQL%ROWCOUNT</title>
      <link>http://www.programmersheaven.com/mb/oracle/426431/426431/count-rows-without-sqlrowcount/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I need to calulate the number of rows updated and/or inserted in a table without using SQL%ROWCOUNT ? Is there any record level statistics that could determine whether a row is updated or inserted ? Basedon rowid we can find the number of records inserted perhaps. But what about updations ?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/426431/426431/count-rows-without-sqlrowcount/</guid>
      <pubDate>Sun, 18 Dec 2011 01:41:39 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/oracle/426430/426430/this-post-has-been-deleted/</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/426430/426430/this-post-has-been-deleted/</guid>
      <pubDate>Sun, 18 Dec 2011 01:16:16 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: Query Optimization</title>
      <link>http://www.programmersheaven.com/mb/oracle/423794/423855/re-query-optimization/#423855</link>
      <description>&lt;pre class="sourcecode"&gt;SELECT emp, salary, AVG(salary) OVER() "average salary" FROM empl;&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/423794/423855/re-query-optimization/#423855</guid>
      <pubDate>Tue, 17 May 2011 00:25:24 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Query Optimization</title>
      <link>http://www.programmersheaven.com/mb/oracle/423794/423794/query-optimization/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have table like&lt;br /&gt;
&lt;br /&gt;
emp salary&lt;br /&gt;
--- -------&lt;br /&gt;
emp1 10000&lt;br /&gt;
emp2 10000&lt;br /&gt;
emp3 11000&lt;br /&gt;
emp4 13000&lt;br /&gt;
emp5 15000&lt;br /&gt;
&lt;br /&gt;
I want avg salary in a separate column like&lt;br /&gt;
&lt;br /&gt;
emp salary AvgSalary&lt;br /&gt;
--- ------- -----------&lt;br /&gt;
emp1 10000 11800.0000&lt;br /&gt;
emp2 10000 11800.0000&lt;br /&gt;
emp3 11000 11800.0000&lt;br /&gt;
emp4 13000 11800.0000&lt;br /&gt;
emp5 15000 11800.0000&lt;br /&gt;
&lt;br /&gt;
I am getting the result using&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
SELECT emp, salary, (SELECT AVG( salary ) FROM empl ) 'average'
FROM empl 
&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Can I do it using only one select statement.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Shrawan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/423794/423794/query-optimization/</guid>
      <pubDate>Sat, 14 May 2011 06:15:03 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: Oracle Reports to Excel file</title>
      <link>http://www.programmersheaven.com/mb/oracle/274737/423294/re-oracle-reports-to-excel-file/#423294</link>
      <description>I largest issue resides in the style sheets.  No pun intended!&lt;br /&gt;
&lt;br /&gt;
-Grahm&lt;br /&gt;
&lt;a href="http://www.oneclickcommissions.com/excel-reports.html"&gt;Excel Reports&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/274737/423294/re-oracle-reports-to-excel-file/#423294</guid>
      <pubDate>Mon, 18 Apr 2011 15:58:03 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Beginner seeking advice on Oracle and SQL, PL/SQL</title>
      <link>http://www.programmersheaven.com/mb/oracle/417147/417147/beginner-seeking-advice-on-oracle-and-sql-plsql/</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I'm completely new to databases but am looking to expand my knowledge for because I believe that the company I work for could benefit from the extra skill set.  &lt;br /&gt;
&lt;br /&gt;
My question is where to start my studies - I know I'll need to learn Oracle, SQL, and PL/SQL and I have a basic understanding of the Oracle to SQL and SQL to PL/SQL.  &lt;br /&gt;
&lt;br /&gt;
I've heard several theories about learning these - some say front to back (Oracle-SQL-PL/SQL) or work backwards starting with PL/SQL. Any thoughts or suggestions on this would be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
Thanks again!&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/417147/417147/beginner-seeking-advice-on-oracle-and-sql-plsql/</guid>
      <pubDate>Thu, 10 Jun 2010 16:14:39 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: never mind, I figured it out</title>
      <link>http://www.programmersheaven.com/mb/oracle/219546/416563/re-never-mind-i-figured-it-out/#416563</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I am interested...&lt;br /&gt;
I hope you still know how you did it, 7 years ago &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/219546/416563/re-never-mind-i-figured-it-out/#416563</guid>
      <pubDate>Wed, 19 May 2010 00:56:31 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: Error in connecting Oracle 11g from MS Access</title>
      <link>http://www.programmersheaven.com/mb/oracle/397044/416401/re-error-in-connecting-oracle-11g-from-ms-access/#416401</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am trying to connect to my Oracle 11g database from MS Access query in .mdb file which is as below.&lt;br /&gt;
&lt;br /&gt;
Select col1, col2, col3 From&lt;br /&gt;
[odbc;driver={microsoft odbc for oracle};server=ServiceName;uid=UserName;pwd=PassWo
rd].[TableName]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But it gives me an error 'Reserved error (-7778); there is not message for this error'. Also, when i changed connection parameter (eg, uid or pwd etc), it will give me odbc error in connection. Does it mean that Oracle connection is done succesfuly, but there is any problem in fetching data from Oracle?&lt;br /&gt;
&lt;br /&gt;
I have install 11g enterprise edition on my system winxp; and install ODBC and OLEDB providers with that.&lt;br /&gt;
&lt;br /&gt;
I can run such query with Oracle 9i.&lt;br /&gt;
&lt;br /&gt;
Did i do any mistake with Oracle 11g installation?&lt;br /&gt;
&lt;br /&gt;
Please help. &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/397044/416401/re-error-in-connecting-oracle-11g-from-ms-access/#416401</guid>
      <pubDate>Thu, 13 May 2010 21:21:50 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: how to create database in oracle</title>
      <link>http://www.programmersheaven.com/mb/oracle/367490/412235/re-how-to-create-database-in-oracle/#412235</link>
      <description>to know that as we create schema in oracle and we store our database in that schema, in... The Database in Oracle ...cannot be created until the.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
_______________&lt;br /&gt;
[url=http://www.microsoftoffice-2010.com/] Download Windows 7 [/url] &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/367490/412235/re-how-to-create-database-in-oracle/#412235</guid>
      <pubDate>Sun, 24 Jan 2010 07:37:29 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: Oracle Reports to Excel file</title>
      <link>http://www.programmersheaven.com/mb/oracle/274737/412234/re-oracle-reports-to-excel-file/#412234</link>
      <description>Rep2excel * An Oracle Report to Excel Converter ... Generate a report file in html or htmlcss format by oracle report server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
_________________&lt;br /&gt;
&lt;a href="http://www.microsoftoffice-2010.com/"&gt;http://www.microsoftoffice-2010.com/&lt;/a&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/274737/412234/re-oracle-reports-to-excel-file/#412234</guid>
      <pubDate>Sun, 24 Jan 2010 07:35:10 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: analysis services and cluster algorithm</title>
      <link>http://www.programmersheaven.com/mb/oracle/409212/409275/re-analysis-services-and-cluster-algorithm/#409275</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;ANALYSIS SERVICES&lt;/strong&gt;: An integrated view of business data is provided by analysis service. This view is provided with the combination of OLAP and data mining functionality. Analysis Services allows the user to utilize a wide variety of data mining algorithms which allows the creation and designing data mining models.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;SEQUENCE CLUSTERING ALGORITHM&lt;/strong&gt;: Sequence clustering algorithm collects similar or related paths, sequences of data containing events. &lt;br /&gt;
&lt;br /&gt;
 E.g. Sequence clustering algorithm may help finding the path to store a product of “similar” nature in a retail ware house.&lt;br /&gt;
&lt;br /&gt;
Yes, there are helpful material available online.&lt;br /&gt;
There is an E Book " &lt;strong&gt;THE MULTIDIMENSIONAL DATA MODELING TOLK&lt;/strong&gt;IT"&lt;br /&gt;
available at &lt;strong&gt;&lt;em&gt;&lt;a href="http://www.amazon.com/Multidimensional-Data-Modeling-Toolkit-Intelligence/dp/0981775306"&gt;DATA WAREHOUSING&lt;/a&gt;&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/409212/409275/re-analysis-services-and-cluster-algorithm/#409275</guid>
      <pubDate>Fri, 13 Nov 2009 23:11:00 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>analysis services and cluster algorithm</title>
      <link>http://www.programmersheaven.com/mb/oracle/409212/409212/analysis-services-and-cluster-algorithm/</link>
      <description>hi there,&lt;br /&gt;
&lt;br /&gt;
i have recently started learning data warehousing&lt;br /&gt;
i am having doubt in analysis services and sequence &lt;br /&gt;
clustering algorithm, what is it??&lt;br /&gt;
&lt;br /&gt;
and is there any helpful study materials available &lt;br /&gt;
online regarding this??&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/409212/409212/analysis-services-and-cluster-algorithm/</guid>
      <pubDate>Fri, 13 Nov 2009 03:43:36 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: how to create database in oracle</title>
      <link>http://www.programmersheaven.com/mb/oracle/367490/405323/re-how-to-create-database-in-oracle/#405323</link>
      <description>There are two ways that you can create a database in Oracle 9i. One way is to use the Oracle Database Configuration Assistant. Using the Oracle Database Configuration Assistant makes sure that the new database is optimized with Oracle 9i’s latest features. Simply read the instruction and follow the prompts. The other way to create a database is to do it manually. This will now be demonstrated.Create a suitable directory structure for the new database. Once this is done, copy the init.ora file into a new file named init{SID}.ora into new directory&lt;br /&gt;
&lt;br /&gt;
Now you have created a parameter file, you’ll need to declare an Oracle SID name. Keep the SID consistent with the parameter filename. The command to do this action will depend on the platform you have the DBMS installed. If you are using Windows, simply type,&lt;br /&gt;
&lt;br /&gt;
Set ORACLE_SID = {SID}&lt;br /&gt;
&lt;br /&gt;
Alternatively, on the a unix platform, the DBA must type,&lt;br /&gt;
&lt;br /&gt;
Export ORACLE_SID = {SID}&lt;br /&gt;
&lt;br /&gt;
Use SQL*Plus under / as sysdba and set the database to nomount mode.&lt;br /&gt;
&lt;br /&gt;
So, if we wish to override the default spfile to start the new instance in nomount mode then type,&lt;br /&gt;
&lt;br /&gt;
Startup nomount pfile = ‘&amp;lt;directory&amp;gt;\init{SID}.ora’&lt;br /&gt;
&lt;br /&gt;
Now we are about to create the database. When creating a new database, write the code into an sql file so that your have a copy of the database features as well as the ability to fix any mistakes in the create database command. Here is the code,&lt;br /&gt;
&lt;br /&gt;
CREATE DATABASE ShepIT&lt;br /&gt;
Maxinstances   1&lt;br /&gt;
Maxloghistory  1&lt;br /&gt;
Maxlogfiles  10&lt;br /&gt;
Maxlogmembers 15&lt;br /&gt;
Maxdatafiles  100&lt;br /&gt;
Datafile ‘&amp;lt;directory&amp;gt;\datafile_01.dbf’ &lt;br /&gt;
size 300M reuse autoextend on next 15M maxsize unlimited&lt;br /&gt;
character set WE8MSWIN1252&lt;br /&gt;
national character set AL16UFT16&lt;br /&gt;
logfile &lt;br /&gt;
group 1 (‘&amp;lt;directory&amp;gt;\redo_01.log’) size 75M&lt;br /&gt;
 group 2 (‘&amp;lt;directory&amp;gt;\redo_02.log’) size 75M&lt;br /&gt;
 group 3 (‘&amp;lt;directory&amp;gt;\redo_03.log’) size 75M&lt;br /&gt;
default temporary tablespace TEMP&lt;br /&gt;
tempfile ‘&amp;lt;directory&amp;gt;\temp_01.dbf’&lt;br /&gt;
 extent management local uniform size 1M&lt;br /&gt;
undo tablespace UNDO_TS datafile ‘&amp;lt;directory&amp;gt;\datafile_01.dbf’&lt;br /&gt;
 size 125M reuse autoextend on next 15M maxsize unlimited;&lt;br /&gt;
&lt;br /&gt;
Oracle, should respond by saying that the database is created. Once this is done you are ready to load scripts that are needed to support your Oracle products by typing the following commands&lt;br /&gt;
&lt;br /&gt;
@&amp;lt;directory&amp;gt;\catalog.sql&lt;br /&gt;
@&amp;lt;directory&amp;gt;\catproc.sql&lt;br /&gt;
@&amp;lt;directory&amp;gt;\catexp.sql&lt;br /&gt;
&lt;br /&gt;
Ok, the database is configured. Change the SYSTEM and SYS passwords, to ensure better security for your database.&lt;br /&gt;
&lt;br /&gt;
or if you still have confusion just log on to www.learn-Oracle-OLAP.com to get ur issue resolved. creating datab&lt;br /&gt;
ase through dbc assistsnce is easy but creating&lt;br /&gt;
 manually is bit tuf because u need to type the &lt;br /&gt;
code on to word pad and then execute it. even i faced &lt;br /&gt;
the same problem i consulted e-book available at&lt;br /&gt;
&lt;span style="font-size: medium;"&gt;www.learn-Oracle-OLAP.com&lt;/span&gt;&lt;span style="color: Blue;"&gt;&lt;/span&gt; and got the solution.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/367490/405323/re-how-to-create-database-in-oracle/#405323</guid>
      <pubDate>Mon, 12 Oct 2009 03:03:24 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/oracle/367490/405322/this-post-has-been-deleted/#405322</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/367490/405322/this-post-has-been-deleted/#405322</guid>
      <pubDate>Mon, 12 Oct 2009 03:02:47 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>This post has been deleted.</title>
      <link>http://www.programmersheaven.com/mb/oracle/367490/405321/this-post-has-been-deleted/#405321</link>
      <description>This post has been deleted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/367490/405321/this-post-has-been-deleted/#405321</guid>
      <pubDate>Mon, 12 Oct 2009 03:01:05 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Error in connecting Oracle 11g from MS Access</title>
      <link>http://www.programmersheaven.com/mb/oracle/397044/397044/error-in-connecting-oracle-11g-from-ms-access/</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am trying to connect to my Oracle 11g database from MS Access query in .mdb file which is as below.&lt;br /&gt;
&lt;br /&gt;
Select col1, col2, col3 From&lt;br /&gt;
[odbc;driver={microsoft odbc for oracle};server=ServiceName;uid=UserName;pwd=PassWo
rd].[TableName]&lt;br /&gt;
&lt;pre class="sourcecode"&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="text-decoration: underline;"&gt;But it gives me an error 'Reserved error (-7778)&lt;/span&gt;; there is not message for this error'. &lt;span style="text-decoration: underline;"&gt;Also, when i changed connection parameter&lt;/span&gt; (eg, uid or pwd etc), it will &lt;span style="text-decoration: underline;"&gt;give me odbc error&lt;/span&gt; in connection. Does it mean that Oracle connection is done succesfuly, but there is any problem in fetching data from Oracle?&lt;br /&gt;
&lt;br /&gt;
I have install 11g enterprise edition on my system winxp; and install ODBC and OLEDB providers with that.&lt;br /&gt;
&lt;br /&gt;
I can run such query with Oracle 9i.&lt;br /&gt;
&lt;br /&gt;
Did i do any mistake with Oracle 11g installation?&lt;br /&gt;
&lt;br /&gt;
Please help.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/397044/397044/error-in-connecting-oracle-11g-from-ms-access/</guid>
      <pubDate>Thu, 10 Sep 2009 00:59:13 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>A tricky Left-outer Join :-</title>
      <link>http://www.programmersheaven.com/mb/oracle/396392/396392/a-tricky-left-outer-join--/</link>
      <description>Hello SQL Pros,&lt;br /&gt;
&lt;br /&gt;
I'm relatively new to Oracle / SQL programming &amp;amp; I have this requirement wherein a Table (named "Dealsummary") have to be Left-Outer joined with a set of other tables (Eg : "Riskrun") based on certain set of conditions. &lt;br /&gt;
&lt;br /&gt;
The issue is that; in addition to the field (in "Dealsummary" table) using which the left-outer join has to be done, there's a field from the other table which should also be put into the WHERE clause; which when done &amp;amp; the query executed; looks like i'm given an Inner join result rather than a Left-outer join result. The essential part of the existing query is given below :&lt;br /&gt;
&lt;br /&gt;
SELECT A.TradeID, B.PV							// PV can be NULL or NOT NULL&lt;br /&gt;
FROM DEALSUMMARY A, RISKRUN B&lt;br /&gt;
WHERE A.TradeID = B.TradeID(+)&lt;br /&gt;
AND B.RunID = (SELECT MAX(C.RunID) FROM RISKRUN C&lt;br /&gt;
		 WHERE C.TradeID = A.TradeID)&lt;br /&gt;
&lt;br /&gt;
Note : The RISKRUN table contains the fields; RunID, TradeID &amp;amp; PV. &lt;br /&gt;
&lt;br /&gt;
To clarify more, This table ;&lt;br /&gt;
-&amp;gt; contains Many rows with many RunIDs for a single TradeID (hence selecting the latest RunID from using a subquery in the above SQL).&lt;br /&gt;
-&amp;gt; need not possess any rows / RunIDs for certain TradeIDs found from DEALSUMMARY table. Even then, A.TradeID values should be displayed with NULLs in B.PV forming a Left-Outer Join.&lt;br /&gt;
&lt;br /&gt;
Can any of you please help me out in fixing this up &amp;amp; produce a left-outer join from this query maitaining all the conditions ? &lt;br /&gt;
I believe this is relatively simple for the experienced SQL programmers here.&lt;br /&gt;
&lt;br /&gt;
Thankyou very much in advance for the help !</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/396392/396392/a-tricky-left-outer-join--/</guid>
      <pubDate>Wed, 02 Sep 2009 22:03:09 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-</title>
      <link>http://www.programmersheaven.com/mb/oracle/394772/394976/re-oc4j-islanddefault_island-ajp-host-missing--ajp-port-missing-/#394976</link>
      <description>Search for ajp in the opmn.XML file and increase the port range to 200.  Make sure not to overlap with the rmi and the other one. Can't remember the name. Do this every where u find ajp. &lt;br /&gt;
Validate and reload the file&lt;br /&gt;
opmnctl validate&lt;br /&gt;
opmnctl reload &lt;br /&gt;
stop and star&lt;br /&gt;
&lt;br /&gt;
this is something to try. Some of your error messages I've seen when my ports are taken by another app and my oc4j instances don't come up.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/394772/394976/re-oc4j-islanddefault_island-ajp-host-missing--ajp-port-missing-/#394976</guid>
      <pubDate>Tue, 11 Aug 2009 23:32:31 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-</title>
      <link>http://www.programmersheaven.com/mb/oracle/394772/394826/re-oc4j-islanddefault_island-ajp-host-missing--ajp-port-missing-/#394826</link>
      <description>Hi:&lt;br /&gt;
&lt;br /&gt;
Thank you for your help!!&lt;br /&gt;
I also did comparison of the original and new ias.properties and the opmn.xml file and it shows no change.&lt;br /&gt;
Can you please tell me where the files are related to the &lt;br /&gt;
process_type `home` and `oc4j_bi_forms` so maybe I can check the port number use by them.&lt;br /&gt;
&lt;br /&gt;
Thank You.&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
Frustrated.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/394772/394826/re-oc4j-islanddefault_island-ajp-host-missing--ajp-port-missing-/#394826</guid>
      <pubDate>Sun, 09 Aug 2009 08:23:25 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-</title>
      <link>http://www.programmersheaven.com/mb/oracle/394772/394807/re-oc4j-islanddefault_island-ajp-host-missing--ajp-port-missing-/#394807</link>
      <description>Hi:&lt;br /&gt;
&lt;br /&gt;
I found something interesting.&lt;br /&gt;
I run my oracle database and oracle report server in a vmware guesting operating system running on windows 2000 serve sp4.&lt;br /&gt;
I have different versions of vmware depending on the date.&lt;br /&gt;
The latest version have the above server error.&lt;br /&gt;
Before the latest version I didnot have the above server error when I did the following:&lt;br /&gt;
&lt;br /&gt;
I went to the following url:&lt;br /&gt;
&lt;a href="http://xxx/reports/rwservlet/showJobs?server=rep_xxx_oracleas3"&gt;http://xxx/reports/rwservlet/showJobs?server=rep_xxx_oracleas3&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
and it redirects to a login page.&lt;br /&gt;
But when I tried to login using the id:orcladmin it tells me the password for the id has expired. So I login into the userid ORASSO.&lt;br /&gt;
And ran the following command:&lt;br /&gt;
execute WWSSO_OID_INTEGRATION.reset_passwd('ORCLADMIN',nul
l,'mychau1');&lt;br /&gt;
&lt;br /&gt;
Than I was able to login using the id:ORCLADMIN.&lt;br /&gt;
Before I did this change of the orcladmin 's password. &lt;br /&gt;
When I run the opmnctl status, I get the following:&lt;br /&gt;
C:\OraHome_3\opmn\bin&amp;gt;opmnctl status&lt;br /&gt;
&lt;br /&gt;
Processes in Instance: jadeite1000.xxx&lt;br /&gt;
-------------------+--------------------+---------+---------&lt;br /&gt;
ias-component      | process-type       |     pid | status&lt;br /&gt;
-------------------+--------------------+---------+---------&lt;br /&gt;
DSA                | DSA                |     N/A | Down&lt;br /&gt;
LogLoader          | logloaderd         |     N/A | Down&lt;br /&gt;
dcm-daemon         | dcm-daemon         |     N/A | Down&lt;br /&gt;
OC4J               | home               |       0 | NONE&lt;br /&gt;
OC4J               | OC4J_BI_Forms      |       0 | NONE&lt;br /&gt;
WebCache           | WebCache           |    1948 | Alive&lt;br /&gt;
WebCache           | WebCacheAdmin      |    1696 | Alive&lt;br /&gt;
HTTP_Server        | HTTP_Server        |     980 | Alive&lt;br /&gt;
&lt;br /&gt;
After the change of the password for the id:orcladmin and after rebooting the computer, I get the following:&lt;br /&gt;
C:\OraHome_3\opmn\bin&amp;gt;opmnctl status&lt;br /&gt;
&lt;br /&gt;
Processes in Instance: jadeite1000.xxx&lt;br /&gt;
-------------------+--------------------+---------+---------&lt;br /&gt;
ias-component | process-type | pid | status&lt;br /&gt;
-------------------+--------------------+---------+---------&lt;br /&gt;
DSA | DSA | N/A | Down&lt;br /&gt;
LogLoader | logloaderd | N/A | Down&lt;br /&gt;
dcm-daemon | dcm-daemon | N/A | Down&lt;br /&gt;
OC4J | home | 4048 | Alive&lt;br /&gt;
OC4J | OC4J_BI_Forms | 784 | Alive&lt;br /&gt;
WebCache | WebCache | 2020 | Alive&lt;br /&gt;
WebCache | WebCacheAdmin | 2012 | Alive&lt;br /&gt;
HTTP_Server | HTTP_Server | 2048 | Alive&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Basically HOME AND OC4J_BI_FORMS ARE NOW BOTH ALIVE AND BEFORE THEY WERE NOT ALIVE.&lt;br /&gt;
&lt;br /&gt;
Thank You for your help!!!!&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
Frustrated.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/394772/394807/re-oc4j-islanddefault_island-ajp-host-missing--ajp-port-missing-/#394807</guid>
      <pubDate>Sat, 08 Aug 2009 23:30:21 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-</title>
      <link>http://www.programmersheaven.com/mb/oracle/394772/394804/re-oc4j-islanddefault_island-ajp-host-missing--ajp-port-missing-/#394804</link>
      <description>Hi:&lt;br /&gt;
&lt;br /&gt;
Thank you for your help once again!!&lt;br /&gt;
You have the following reply to my question:"Run the update config for command for opmn.xml if you're not using the asconsole".&lt;br /&gt;
&lt;br /&gt;
Can you please tell me how to do this?&lt;br /&gt;
&lt;br /&gt;
Also, I google on the internet and I found this command. I hope this helps?:&lt;br /&gt;
C:\OraHome_3\opmn\bin&amp;gt;opmnctl status&lt;br /&gt;
&lt;br /&gt;
Processes in Instance: jadeite1000.xxx&lt;br /&gt;
-------------------+--------------------+---------+---------&lt;br /&gt;
ias-component      | process-type       |     pid | status&lt;br /&gt;
-------------------+--------------------+---------+---------&lt;br /&gt;
DSA                | DSA                |     N/A | Down&lt;br /&gt;
LogLoader          | logloaderd         |     N/A | Down&lt;br /&gt;
dcm-daemon         | dcm-daemon         |     N/A | Down&lt;br /&gt;
OC4J               | home               |    4048 | Alive&lt;br /&gt;
OC4J               | OC4J_BI_Forms      |     784 | Alive&lt;br /&gt;
WebCache           | WebCache           |    2020 | Alive&lt;br /&gt;
WebCache           | WebCacheAdmin      |    2012 | Alive&lt;br /&gt;
HTTP_Server        | HTTP_Server        |    2048 | Alive&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
Frustrated&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/394772/394804/re-oc4j-islanddefault_island-ajp-host-missing--ajp-port-missing-/#394804</guid>
      <pubDate>Sat, 08 Aug 2009 23:08:22 -0700</pubDate>
      <category>Oracle</category>
    </item>
    <item>
      <title>Re: oc4j-island:default_island, ajp-host:-missing-, ajp-port:-missing-</title>
      <link>http://www.programmersheaven.com/mb/oracle/394772/394803/re-oc4j-islanddefault_island-ajp-host-missing--ajp-port-missing-/#394803</link>
      <description>Hi:&lt;br /&gt;
&lt;br /&gt;
Thank you for your help!!!!&lt;br /&gt;
Really appreciated it!!!!&lt;br /&gt;
I am attaching my ias.properties file.&lt;br /&gt;
I know I am asking a lot of questions but I am very new to oracle report.&lt;br /&gt;
&lt;br /&gt;
Is there a way to start and stop the oc4j server in C:\OraHome_3\j2ee\home&lt;br /&gt;
&lt;br /&gt;
I donot see any bin directory in home.&lt;br /&gt;
Normal standalone oc4j server has bin directory that contains the startup and shutdown command file.&lt;br /&gt;
&lt;br /&gt;
Are there any more files you need to determine what the problem is?&lt;br /&gt;
&lt;br /&gt;
Thank You.&lt;br /&gt;
&lt;br /&gt;
Yours,&lt;br /&gt;
&lt;br /&gt;
Frustrated&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=804"&gt;ias.zip&lt;/a&gt; (732 bytes | downloaded 109 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/oracle/394772/394803/re-oc4j-islanddefault_island-ajp-host-missing--ajp-port-missing-/#394803</guid>
      <pubDate>Sat, 08 Aug 2009 22:24:04 -0700</pubDate>
      <category>Oracle</category>
    </item>
  </channel>
</rss>