Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: top 10 oracle quirks
Norman Dunbar <Norman.Dunbar_at_lfs.co.uk> wrote in message :
> no need to put dual into a read only tablespace under 9i, you can't
> write to it anymore !
What!? HUH! DAMMIT!!!
SQL> select object_type, owner from dba_objects where object_name = 'DUAL';
OBJECT_TYPE OWNER
------------------ ------------------------------ TABLE SYS SYNONYM PUBLIC
SQL> drop public synonym dual;
Synonym dropped.
SQL> create table xdual as select * from dual
Table created.
SQL> create public synonym dual for xdual;
Synonym created.
SQL> insert into xdual values ( 'Y' );
1 row created.
SQL> commit;
Commit complete.
SQL> select sysdate from dual;
SYSDATE
[changed connection from SYS to a normal db user...] SQL> select sysdate from dual;
SYSDATE
[few minutes later on the phone]
me : "Yes, the dual table always give problems when you
use SELECT in uppercase, dual in lowercase, in an Oracle schema called PROD when connecting via MS-Access. It is Microsoft thing." ... "Er yes.. I can possibly implement a work around.. but that will require some overtime and some serious wizzardy.. but I'm sure I can pull it off." ... "Good. I will start on it right away. By the way, I'm busy putting a mail together about my contract extension and hourly rate increase. Can you have an urgent look at that?" ... "Great!"
-- [just a normal day in the life of an Oracle DBA From Hell]Received on Fri Aug 08 2003 - 06:03:42 CDT