Improve company productivity with a Business Account.Sign Up

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

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
0
W.E.B
Asked:
W.E.B
  • 3
  • 2
1 Solution
 
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.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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