Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Hommer
Aged Yak Warrior
808 Posts |
Posted - 2004-12-29 : 10:31:13
|
| Select * from tbl1 where col1 like 'A%'is a valid sytax.But now I have data in col1 as %1, %5, etc, and the user wantsSelect * from tbl1 where col1 like '%%'.How to escape the first %? I have tried double and simgle quote. Thanks! |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2004-12-29 : 10:35:44
|
select * from tbl1where col1 like '%[%]%'Go with the flow & have fun! Else fight the flow |
 |
|
|
|
|
|