Viewing 15 posts - 526 through 540 (of 4,086 total)
There isn't a lot of info here and it seems like someone was already helping you on a previous thread. However, if you are just looking for a method...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
You're getting that error message, because the scope of the alias c is the sub-query, and you are trying to use that alias outside of its scope.
Also, it looks like...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
Simply saying It's not working isn't very descriptive. I assume that you mean that you're not getting the data that you expect. Since you haven't provided sample data and expected...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
You are correct that the distinct is not needed. The USE CCAP was in there twice because i was testing code in SSMS and needed it in the second...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
There are several issues with this. The primary one is that you have a large number of reads of the same tables. I think that it can be done with...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
Viewing 15 posts - 526 through 540 (of 4,086 total)