Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: possible to have a primary key with a bitmap indx?
> -----Original Message-----
> From: ml-errors_at_fatcity.com [mailto:ml-errors_at_fatcity.com]On Behalf Of
> rgaffuri_at_cox.net
>
> is it possible to have a primary key that is enforced with a
> bitmap index?
I don't think so. Here's an example from a 9.2.0.3 database:
SQL> create table t (v varchar2 (10), d date) ;
Table créée.
SQL> create bitmap index bit1 on t (v) ;
Index créé.
SQL> alter table t add (constraint t_pk primary key (v)) ;
alter table t add (constraint t_pk primary key (v))
*
ERREUR à la ligne 1 :
ORA-01408: such column list already indexed
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jacques Kilchoer INET: Jacques.Kilchoer_at_quest.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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 Sep 23 2003 - 17:54:41 CDT