Solved

Create Unique Index comes up with "Key size too big" error

Posted on 2006-06-18
7
1,038 Views
Last Modified: 2013-12-09
This is the statement I'm trying to run on a Firebird database:

CREATE UNIQUE INDEX "iName_Software" ON "Software"("Name");

Unfortunately, it comes up with this error:

This operation is not defined for system tables.  Unsuccessful metadata update.
Key size too big for index iName_Software

Anyone with ideas on why this occurs?  I would've thought this would be fairly standard.
0
Comment
Question by:khooc
  • 3
  • 3
7 Comments
 
LVL 10

Expert Comment

by:János Szabó
ID: 16932024
Try without " eg.
CREATE UNIQUE INDEX iName_Software ON Software(Name);

Janos
0
 
LVL 19

Expert Comment

by:NickUpson
ID: 16932550
please tell us your table structure and character set, also which version of firebird
0
 

Author Comment

by:khooc
ID: 16942337
Hi Nick

Firebird Version: 1.5.3.4870
Charset: NONE

For Table structure, name is Software.
Fields are:
 - OID INTEGER - Primary Key
 - "Name" VARCHAR(100)

Does that help?

BTW kacor, I tried your suggestion - it doesn't work.

Chris
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 19

Accepted Solution

by:
NickUpson earned 125 total points
ID: 16943766
Try this http://www.volny.cz/iprenosil/interbase/ip_ib_indexcalculator.htm

(please report back your findings)
0
 

Author Comment

by:khooc
ID: 16982481
hmmm

as per http://www.ibphoenix.com/main.nfs?page=ibp_expert1

I decided to upgrade to 2.0 RC2 and I could create the index.

Hopefully it isn't too long until 2.0 is deemed production ready...
0
 
LVL 19

Expert Comment

by:NickUpson
ID: 17017071
NB RC3 came out today
0
 

Author Comment

by:khooc
ID: 17022409
BTW thanks for your help Nick - your answer was the best.

Chris
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Trouble connecting to SqlServer database 4 60
TypeError: Users.save is not a function 3 54
append to an ms access field 6 33
constraint check 2 40
This article describes some very basic things about SQL Server filegroups.
APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question