Solved

With myCTE as

Posted on 2010-09-21
5
359 Views
Last Modified: 2012-05-10
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
Comment
Question by:W.E.B
  • 3
  • 2
5 Comments
 
LVL 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 50 total points
ID: 33725247
is that othe server a sql 2005 + ?
with sql 2000 or lower, it won't work ...
0
 

Author Comment

by:W.E.B
ID: 33725276
Hello,
Good point,.
Mine 2005
Domain, 2000

Any way around it?

tx
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 33725298
no (unless you upgrade the domain server to sql 2005 or higher
0
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 33725301
or change the query to solve without the CTE
0
 

Author Closing Comment

by:W.E.B
ID: 33725353
Thanks
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills PIVOT is a great facility and solves many an EAV (Entity - Attribute - Value) type transformation where we need the information held as data within a column to become columns in their own right. Now, in some cases that is relatively…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now