Solved

With myCTE as

Posted on 2010-09-21
5
356 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:Wass_QA
  • 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:Wass_QA
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:Wass_QA
ID: 33725353
Thanks
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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 this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

759 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

18 Experts available now in Live!

Get 1:1 Help Now