Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating mult. value mysql index with date_format
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01340137
Message ID:
01340269
Vues:
8
>Does anyone know if it is even possible to create a multiple value, character string index, using the date_format function in MYSQL?
>
>I can't seem to get it work with the latest version of MYSQL.
>
>Example:
>CREATE INDEX ACTSTAFFAC ON CONTACTS (ACTSTAFF , date_format(ACTDATE,'%Y%m%d'))

Expressions cannot be used in the indexes, only column names. Why do you need multiple column index in the first place?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform