Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strtran() in SQL where clause
Message
De
28/08/2002 11:05:58
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
28/08/2002 11:00:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00694135
Message ID:
00694467
Vues:
18
>Do you have an idea, Sergey, why on an empty file I *can* index on SUBSTR(fieldx,1,7) yet a STRTRAN will not work?

Depending on the exact expression, strtran(...) will return a zero-length character string for an empty record (EOF).

SUBSTR() should cause no problems, since it is a fixed-length expression.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform