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 |
vinodonline2000
Starting Member
1 Post |
Posted - 2011-08-01 : 16:26:33
|
Hi All,Is it possible to get data with % sign attached to it in Sql Server?If yes how can i do this?Vinodvinod |
|
Jason W
Starting Member
19 Posts |
Posted - 2011-08-01 : 17:57:09
|
Hi Vinod,You can use the % as a wildcard character with the LIKE clause. See below:SELECT *FROM tablenameWHERE tablecolumn LIKE 'ABCD%'This would return a value of ABCDEFG if it existed. |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|