Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of special character
Message
From
15/11/2010 16:55:50
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Use of special character
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01489159
Message ID:
01489159
Views:
103
I need to use a special character in a query and this causes me some problem. Basically, I need to search for:
SELECT * FROM MyTable WHERE MyField LIKE '%[signature]%'
However, the [ and ] characters are reserved and this creates a weird result. How can I adjust that query to make sure that [ and ] are really interpreted as a character?
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
Next
Reply
Map
View

Click here to load this message in the networking platform