Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Composite index with datetime field
Message
De
31/07/2007 13:30:41
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Titre:
Composite index with datetime field
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01244926
Message ID:
01244926
Vues:
73
Hi,
I have a composite index which consist of character field, DateTime field, character field.

When I try to select record by using CharField + CAST(DateTimeField AS CHAR(8)) + CharField2 expression, it doesn't seem to be optimized.

Any ideas?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform