Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Formula In an Index?
Message
De
25/10/2001 18:31:38
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Formula In an Index?
Divers
Thread ID:
00573449
Message ID:
00573449
Vues:
47
I would like to create a compound index (for unique values) that uses only the date portion of a smalldatetime field. Does anyone have any idea if this is possible or perhaps an idea for a work around other than playing with triggers? Can formula's even be used in an index in SQL? I tried to modify the SQL index statement using the CONVERT function in the index expression but it wasn't happy with that. I'm still using VER 7.0, perhaps an option in SQL 2000?

Thanks
John
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform