Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best method to disallow special characters
Message
 
 
To
04/10/2005 14:15:15
General information
Forum:
Microsoft SQL Server
Category:
Security
Miscellaneous
Thread ID:
01055902
Message ID:
01056093
Views:
23
>>
>>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.

Any time.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform