open query guidlines

is there a difference between the SQL used via linked server (Open Query) than when running a query on the server itself?  As an example where myfielddate >= '2/08/2011' returns an invalid sintax near '2'

kgittingerAsked:
Who is Participating?
 
ralmadaConnect With a Mentor Commented:
try two consecutive single quotes

myfielddate >= ''2/08/2011''
0
 
pdd1lanCommented:
did you try it:?

convert(char(10),myfielddate,103) >= '02/08/2011'
0
 
kgittingerAuthor Commented:
Unfortuantely this returns the same error
0
 
ralmadaCommented:
if you still have issues, please post the complete query you're trying to run
0
 
kgittingerAuthor Commented:
Thanks a million!
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.