Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best method to disallow special characters
Message
De
04/10/2005 14:15:15
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Sécurité
Divers
Thread ID:
01055902
Message ID:
01055981
Vues:
32
>
>IF @StringToTest LIKE '%[[\]!@#$%^&*()\\]%' ESCAPE '\'
>	PRINT 'BAD'
>
>>
>>This works nicely.
>>Is there a way to include ] and ' in the bad list?

Thank you Sergey, as always, your help is very appriciated.
Thank You

Rollin Burr

Politicians and diapers have one thing in common. They should both be changed regularly, and for the same reason.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform