Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: select * from dual in MOUNTED database returns 4 columns (one row)
Hi Vsevolod,
I must admit I've never tried to select from dual before with an unopened database so I'm not sure what you are actually accessing (I suspect some internal dual like object). What I do know is that you are not accessing the dual table/synonym as this is only accessible with an open database so I would strongly suspect they are not one and the same.
Regards
Richard
"Vsevolod Afanassiev" <vafanassiev_at_aapt.com.au> wrote in message
news:4f7d504c.0207082214.506816ea_at_posting.google.com...
> If a database is mounted (not opened), then
>
> select * from dual
>
> returns 4 columns (one row).
> However, when the database is opened,
>
> select * from dual
>
> returns one column only.
>
> I checked DBA_OBJECTS - there are only two objects with name DUAL,
> both in SYS schema, table and synonym.
>
> Thanks,
> Sev
Received on Tue Jul 09 2002 - 01:52:03 CDT
![]() |
![]() |