With myCTE as

Hello,
when I use the  --- With myCTE as --- on my local SQL machine, it works,
when I connect to the network Domain  server, I get an error,
Incorrect syntax near the keyword 'With'.

Any ideas?
thanks
W.E.BAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
is that othe server a sql 2005 + ?
with sql 2000 or lower, it won't work ...
0
 
W.E.BAuthor Commented:
Hello,
Good point,.
Mine 2005
Domain, 2000

Any way around it?

tx
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
no (unless you upgrade the domain server to sql 2005 or higher
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
or change the query to solve without the CTE
0
 
W.E.BAuthor Commented:
Thanks
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.