... like '[[]%'
You use [ ]
to surround a special character (or range)
See the section “Using Wildcard Characters As Literals” in SQL Server LIKE
Edit, 24 Nov 2011
Note: You don’t need to escape the closing bracket…
More Related Contents:
- Select distinct record from table and perform Sum of column (Pallats, Gross) of a duplicate row. And show that duplicate rows once [closed]
- How to delete 0 values but not blanks from a column in SQL Server 2008 programming?
- Select top 10 records for each category
- What this query does to create comma delimited list SQL Server?
- SQL Server – Return value after INSERT
- Parameterize an SQL IN clause
- Emulate MySQL LIMIT clause in Microsoft SQL Server 2000
- When no ‘Order by’ is specified, what order does a query choose for your record set?
- How do I create a step in my SQL Server Agent Job which will run my SSIS package?
- SQL Call Stored Procedure for each Row without using a cursor
- How to select the last record of a table in SQL?
- What’s the best way to capitalise the first letter of each word in a string in SQL Server
- SQL string comparison, greater than and less than operators
- Splitting the string in sql server
- How do I group on continuous ranges
- join comma delimited data column
- Group DateTime into 5,15,30 and 60 minute intervals
- How to replace (null) values with 0 output in PIVOT
- Is there a SELECT … INTO OUTFILE equivalent in SQL Server Management Studio?
- How can I compare time in SQL Server?
- Column name or number of supplied values does not match table definition
- SQL Group BY, Top N Items for each Group
- SQL – Difference between COALESCE and ISNULL? [duplicate]
- T-SQL Skip Take Stored Procedure
- Return rows in the exact order they were inserted
- Convert date to YYYYMM format
- Is there a quick way to check if ANY column is NULL?
- Combine Two Tables in Select (SQL Server 2008)
- T-SQL Conditional Order By
- Is there an Oracle equivalent to SQL Server’s OUTPUT INSERTED.*?