Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Searching in TEXT field for uppercase
Message
De
11/03/2008 23:07:14
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01301173
Message ID:
01301183
Vues:
6
>I guess you didn't read my SQL Column published in UtMag a while ago. :)
>
>
>DECLARE @TestCS TABLE  (Col1 text, pk int IDENTITY  );
>INSERT INTO @TestCS VALUES('Test')
>INSERT INTO @TestCS VALUES('TEST')
>INSERT INTO @TestCS VALUES('test')
>INSERT INTO @TestCS VALUES('TeSt')
>INSERT INTO @TestCS VALUES('Test')
>
>SELECT * FROM @TestCS
>	WHERE col1 COLLATE SQL_Latin1_General_CP1_CS_AS LIKE '%Test%'
>
This is great code. Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform