Subject | Re: [firebird-support] Char indexes |
---|---|
Author | Uwe Grauer |
Post date | 2005-03-30T17:09:04Z |
Ray Jenkins wrote:
This doesn't stop you from using integers as primary keys.
Never mix customer logic with your primary keys!
Uwe
> We are in a situation because of a customer request where we are goingIf your customer wants to search on a string value - why not.
> to be searching on a string value, my question is whether this will be
> slow compared to searching on some sort of id? If we spend some extra
> time programming we could arrange to use an integer value as our key.
> So, I was just curious how an index on a char field performed?
>
> Thanks in advance
> Ray
This doesn't stop you from using integers as primary keys.
Never mix customer logic with your primary keys!
Uwe