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@(protected) [mailto:oracle-l-bounce@(protected)] On Behalf Of Jared Still Sent: Tuesday, November 08, 2005 2:46 PM To: Rudy.Zung@(protected) Cc: frank4oraclel@(protected); ORACLE-L; frank.hansen@(protected) Subject: Re: Select from dual return 3 rows !
On 11/8/05, Rudy Zung <Rudy.Zung@(protected)> 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, there can be only one row in sys.dual.
Try it.
-- Jared Still Certifiable Oracle DBA and Part Time Perl Evangelist
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>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….<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>I have hit this issue twice in 13 years& #8230;.once I THINK it was because of an import…the other ….I have no stinkin& #8217; clue…..<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>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……<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'>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.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
</blockquote>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><br> That is version dependent.<br> <br> At least as far back as <a href="http://8.1.7.4">8.1.7.4</a>, there can<br> be only one row in sys.dual.<br> <br> Try it.<br> <br clear=all> <br> -- <br> Jared Still<br> Certifiable Oracle DBA and Part Time Perl Evangelist<o:p></o:p></span></font>< /p>