Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-06-18
7
Medium Priority
?
1,048 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
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
LVL 19

Accepted Solution

by:
NickUpson earned 500 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
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…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

782 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