Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

With myCTE as

Posted on 2010-09-21
5
Medium Priority
?
389 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 200 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 143

Expert Comment

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

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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

705 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