Re: index ... for <expression> max length
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Thu, 13 Jul 2006 08:24:56 -0700
You're right, but you're splitting hairs. It could be argued the FOR
<condition> is part of the key.
I'd advise against using conditional index expressions anyway since they
don't maintain themselves over time. It would be far better (for performance
and for your blood pressure) to use optimizable full index tags and limit
your data through parameterized local views.
Dan
Lew Schwartz wrote:
Hi Fred:
That info seems to be for the max no of bytes in a *key*. I'm
looking for the max no of bytes in a for <condition> clause.
Thanks.
-Lew
"Fred Taylor" <ftaylor@xxxxxxxx!REMOVE> wrote in message
news:OXkrWXhpGHA.756@xxxxxxxxxxxxxxxxxxxxxxx
Look in the help file under "Visual FoxPro System Capacities".
It's 100 bytes for a non compact index or 240 bytes for a compact
index.
Also note the following:
If the collating sequence is set to MACHINE, each character uses one
byte. If the collating sequence is not set to MACHINE, each
character uses two bytes. If the indexed field supports null values,
one additional byte is used in the index key. Note that non-machine
indexes are always compact.
--
Fred
Microsoft Visual FoxPro MVP
"Lew Schwartz" <lschwartz@xxxxxxxxxxxx> wrote in message
news:OiR4CvepGHA.2464@xxxxxxxxxxxxxxxxxxxxxxx
What's the maximum length for the for expression in a cdx tag?
Thanks. -Lew
.
- Follow-Ups:
- Re: index ... for <expression> max length
- From: Lew Schwartz
- Re: index ... for <expression> max length
- From: Gene Wirchenko
- Re: index ... for <expression> max length
- References:
- index ... for <expression> max length
- From: Lew Schwartz
- Re: index ... for <expression> max length
- From: Fred Taylor
- Re: index ... for <expression> max length
- From: Lew Schwartz
- index ... for <expression> max length
- Prev by Date: RE: Animated Gif Q.
- Next by Date: Re: index ... for <expression> max length
- Previous by thread: Re: index ... for <expression> max length
- Next by thread: Re: index ... for <expression> max length
- Index(es):
Relevant Pages
|