Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: ora-1450 even though max key length is well below the max
Matthew Winn wrote:
> On Thu, 22 Jun 2006 15:39:50 GMT, Chuck <skilover_nospam_at_bluebottle.com> wrote:
>> Does anyone around here read? I'll say it one last time... this works in >> a 9205 instance with the exact same DDL. If as you say it's based on the >> max defined width of the varchars how does this work on 9205?
My index is on a DATE and two VARCHAR2(2000) columns, db_block_size = 8192.
SQL> SELECT * FROM v$version
BANNER
5 rows selected.
SQL> SELECT VALUE FROM v$parameter WHERE NAME = 'db_block_size'
VALUE
1 row selected.
SQL> CREATE TABLE mytable (logdate DATE, uri VARCHAR2(2000), referrer
VARCHAR2(2000), pageviews INTEGER)
Table created.
SQL> CREATE INDEX myindex ON mytable (logdate, uri, referrer)
Index created.
Received on Fri Jun 23 2006 - 10:09:47 CDT