Board index » delphi » WHAT'S THE LARGER SIZE STRING TO USE IN A PRIMARY KEY

WHAT'S THE LARGER SIZE STRING TO USE IN A PRIMARY KEY

I GET THIS ERROR

This operation is not defined for system tables.
facassada atualiza??o do metadata.
key size too big for index RDB$PRIMARY6.

I'D LIKE TO KNOW WHAT'S THE LARGER SIZE STRING TO USE IN A PRIMARY KEY

 

Re:WHAT'S THE LARGER SIZE STRING TO USE IN A PRIMARY KEY


See Appendix B in the Operations Guide

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)

Re:WHAT'S THE LARGER SIZE STRING TO USE IN A PRIMARY KEY


In article <3e1ea...@newsgroups.borland.com>, AGNA...@TQS.COM.BR says...
Quote
> I GET THIS ERROR

> This operation is not defined for system tables.
> facassada atualiza??o do metadata.
> key size too big for index RDB$PRIMARY6.

> I'D LIKE TO KNOW WHAT'S THE LARGER SIZE STRING TO USE IN A PRIMARY KEY

        Indices in IB can be up to about 254 bytes.  How big of a VARCHAR
can fit into 254 bytes depends upon the charset and collation you are
using.

        That said, I can't imagine why you'd want to use a char field that
long for a PK.

        -Craig

--
Craig Stuntz [TeamB] Vertex Systems Corp. Columbus, OH
Delphi/InterBase Weblog : http://delphi.weblogs.com
InterBase Perf. Monitor : http://delphi.weblogs.com/IBPerformanceMonitor
InterBase PLANalyzer 1.1: http://delphi.weblogs.com/IBPLANalyzer

Other Threads