Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best method to disallow special characters
Message
 
 
To
04/10/2005 13:18:52
General information
Forum:
Microsoft SQL Server
Category:
Security
Miscellaneous
Thread ID:
01055902
Message ID:
01055961
Views:
18
IF @StringToTest LIKE '%[[\]!@#$%^&*()\\]%' ESCAPE '\'
	PRINT 'BAD'
>
>This works nicely.
>Is there a way to include ] and ' in the bad list?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform