RE: Select from dual return 3 rows !

Make sure that you do actually have 3 rows by selecting the rowid from dual.
It may be that you're seing some weird results from a view or synonyms.
 
Dougie
-----Original Message-----
From: Hollis, Les [mailto:Les.Hollis@xxxxxx] 
Sent: Wednesday, November 09, 2005 9:53 AM
To: jkstill@xxxxxxxxx; Rudy.Zung@xxxxxxx
Cc: frank4oraclel@xxxxxxxx; ORACLE-L; frank.hansen@xxxxxxxxxxxxxxxxxxxx
Subject: RE: Select from dual return 3 rows !



Think what Rudy was trying to say is that it is a table and that additional
rows CAN be inserted....not that they SHOULD.....or WOULD....

 

Mistakes happen.....

 

 

I have hit this issue twice in 13 years....once I THINK it was because of an
import...the other ....I have no stinkin' clue.....

 

But on both, applications started going crazy due to the multiple rows
returned when only one expected.....fix was drop the table, recreate it and
recreate the public synonym......this with Oracle support on the line......

 

  _____  

From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Jared Still
Sent: Tuesday, November 08, 2005 2:46 PM
To: Rudy.Zung@xxxxxxx
Cc: frank4oraclel@xxxxxxxx; ORACLE-L; frank.hansen@xxxxxxxxxxxxxxxxxxxx
Subject: Re: Select from dual return 3 rows !

 

On 11/8/05, Rudy Zung <Rudy.Zung@xxxxxxx <mailto:Rudy.Zung@xxxxxxx> > wrote:

DUAL, when you really come down to it, is really just a table into which
Oracle defaults with just a single record. However, because it is just a
simple table, additional records can be inserted into it, as you have just
discovered.

 


That is version dependent.

At least as far back as 8.1.7.4 <http://8.1.7.4> , there can
be only one row in sys.dual.

Try it.


-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

Other related posts: