Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding records with respect to casing
Message
 
 
À
08/03/2009 15:33:39
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01386512
Message ID:
01386513
Vues:
41
>I need to find some records that have a specific casing. However, by default, SQL Server is retrieving all the records that match my SQL no matter if the field is containing lowercase or uppercase characters. How can I force my SQL to retrieve the records in respect to the casing I am searching for?
>
>Basically, I can have something like this:
>
>
>select * from member where City='Petit-Rocher'
>
>
>But, in the result, I also get Petit-rocher.

You can use Collate. I covered it in my SQL column in UT magazine a while ago.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform