Solved

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

Posted on 2006-06-18
7
1,039 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:kacor
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
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…

830 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