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

Posted on 2006-06-18
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.
Question by:khooc
  • 3
  • 3
LVL 10

Expert Comment

ID: 16932024
Try without " eg.
CREATE UNIQUE INDEX iName_Software ON Software(Name);

LVL 19

Expert Comment

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

Author Comment

ID: 16942337
Hi Nick

Firebird Version:
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.

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

NickUpson earned 125 total points
ID: 16943766
Try this

(please report back your findings)

Author Comment

ID: 16982481

as per

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...
LVL 19

Expert Comment

ID: 17017071
NB RC3 came out today

Author Comment

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


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now