Search notes:

ORA-02158: invalid CREATE INDEX option

create table tq84_02158 (id integer, txt varchar2(100));

alter table tq84_02158 add constraint tq84_02158_pk primary key (id) compress for oltp;
-- Table TQ84_02158 altered.

create index tq84_02158_ix on tq84_02158(txt) compress for oltp;
-- ORA-02158: invalid CREATE INDEX option
-- An option other than
--    COMPRESS, NOCOMPRESS, PCTFREE, INITRANS, MAXTRANS, STORAGE,
--    TABLESPACE, PARALLEL, NOPARALLEL, RECOVERABLE,                 
--    UNRECOVERABLE, LOGGING, NOLOGGING, LOCAL, or GLOBAL
-- was specified.

drop table tq84_02158;

See also

Indexes
Other Oracle error messages

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758199566, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-02158_invalid-CREATE-INDEX-option(51): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78