Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Including a logical field into an index
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00275876
Message ID:
00275880
Vues:
24
>Is it possible to include a logical field into an index? Or should I change the logical field to a one position character field?
>
>Thanks,
>Paul

Convert the logical to character with the IIF() function:

index on ... + iif(MyTable.LogicalField, 'T', 'F') tag mytag
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform