Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MySQL index key which one is the right way?
Message
De
11/05/2012 08:53:54
 
 
À
11/05/2012 06:46:23
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01543457
Message ID:
01543462
Vues:
42
SQL Server query optimization doesn't work like it did in VFP. This article may help http://www.simple-talk.com/sql/sql-training/the-sql-server-query-optimizer/

You can also so a web search for "SQL Server optimization"

>Hi all !
>in MySQL table index key which one is the right way ?
>key (branch)
>key (reference)
>key (date)
>select * from transaction where branch=?m.branch and reference=?m.ref and date=?m.date order by branch,reference,date
>or
>key (branch,reference,date)
>select * from transaction where branch=?m.branch and reference=?m.ref and date=?m.date order by branch
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform