Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Indexing in a subset of a string
Message
De
13/10/2008 21:40:57
Moacyr Zalcman
Independent Consultant
São Paulo, Brésil
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Indexing in a subset of a string
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01354732
Message ID:
01354732
Vues:
55
Hi, everybody

I need to select a subset of a string field, e.g., substring(myfield,1,10)+ substring(myfield,25,5).
I thought in two approaches:

1- Create an calculated field and index it
2-Create a view with that subset and index it.

Is there any better or simpler way to do that?

TIA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform