[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 342
  • Last Modified:

How do you search for a STRING which begins with an underscore for example:

How do you search for a records which begin with an underscore for example:

_SQL
0
Mr_Shaw
Asked:
Mr_Shaw
2 Solutions
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
where yourfield like '[_]%'
0
 
Imran Javed ZiaCommented:
you can use square brackets to escape a sequence so you may use

Select * from tbl
Where col like '[_]%'

please reffer to following link for more details:
http://msdn.microsoft.com/en-us/library/ms179859.aspx

Thanks
0
 
Mr_ShawAuthor Commented:
thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now