Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Number / 0

Number / 0

From: Sinard Xing <sinardyxing_at_bcs-ach.com.sg>
Date: Tue, 05 Mar 2002 00:38:23 -0800
Message-ID: <F001.0041F38F.20020305003823@fatcity.com>


Hi guys,

This is my test:

SQL> desc emp

 Name                                      Null?    Type
 ----------------------------------------- -------- ------------------------
----
 EMPNO                                     NOT NULL CHAR(3)
 NAME                                               VARCHAR2(10)
 INCOME                                             NUMBER(5)

SQL> create index no_logic on emp(income);

Index created.

SQL> drop index no_logic;

Index dropped.

SQL> create index wrong_logic on emp(income/0); create index wrong_logic on emp(income/0)

                                       *
ERROR at line 1:
ORA-01031: insufficient privileges

I don't understand why Oracle throw such exception (reply). Do you have any idea what is Oracle doing when Oracle find out number / 0

Sinardy

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Sinard Xing
  INET: sinardyxing_at_bcs-ach.com.sg

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Mar 05 2002 - 02:38:23 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US