How to use backslash in SQL?

Hi,

I have this query I am TRYING to write.

I get an error in sql query analyzer

SELECT * FROM tblName
where someColumn = 40
and os = windows\2000

that woudl be an example..

I get this as an error msg

Line 3: Incorrect syntax near '\'.

Must be some way to escape this??

-ws
LVL 1
Westside2004Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
OlegPConnect With a Mentor Commented:
SELECT * FROM tblName
where someColumn = 40
and os = 'windows\2000'
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.