Viewing 15 posts - 21,796 through 21,810 (of 22,184 total)
CTE's are only available for the next SELECT statement. You can't define a CTE & then run multiple selects against it. If you need that kind of functionality, you'll need...
May 21, 2007 at 7:09 am
I tried setting up the two tables and putting together some sample data, but I can't run your query. As I suspected it returns more than one row in the...
May 21, 2007 at 7:00 am
Holy Cow! Discussions around the proper placement of the f-bomb in sentence structure in order to communicate with the squids is serious? I clearly need to get out more.
<hug>
I'll be...
May 21, 2007 at 5:33 am
It looks like the correlatted query can return more than one value and that will cause the query to fail.
Here's a first pass substitute:
SELECT ItemNo_,ItemDescription, COALESECE(a.Description,b.Description)
FROM Item
JOIN ItemExtraDescription a
ON Item.No_=a.No_
AND...
May 18, 2007 at 8:58 am
I believe that debugging is only available through Visual Studio.
http://msdn2.microsoft.com/en-us/library/ms165034(VS.80).aspx
May 18, 2007 at 8:44 am
Quick and dirty, completely inelegant and unefficient and you might have to run it two or three times in a row, but it will do the job.
May 18, 2007 at 8:35 am
I think most of the other posters have already hit the high points. Upgrade and development times are just too long to support short release cycles. We started working with 2005...
May 18, 2007 at 5:27 am
I've been reading Hornblower & Sharpe & Aubrey/Maturin novels my entire life. That and growing up on Monty Python and British television... It's just there. Plus, I used it to...
May 18, 2007 at 5:15 am
Hey watch it! I resemble that remark.
Yeah, old, weak joke but unfortunately true.
How about a manly hand shake?
May 17, 2007 at 4:53 pm
You got trouble in River City. According to MS:
The 824 error indicates that a logical consistency error was detected during a read. A logical consistency error is a clear indication...
May 17, 2007 at 6:52 am
In addition to all those recommendations, I'd suggest taking the IN clause and turning that into a join, even if you keep it as a derived table. In terms of...
May 17, 2007 at 6:47 am
Most of our procs are converted to XML out on the client (app server actually). No real need to output to XML, in most cases, in the procedure. From your...
May 17, 2007 at 5:26 am
Oh hell, time to start a support group. Who needs a hug?
Hi, my name is Grant. I'm unable to upload useless little pictures.
<CROWD> Hi Grant
May 17, 2007 at 4:47 am
Code reuse in this circumstance sounds really useful. I think I might take a look around. I'm sure we have something along these lines that might, possibly benefit.
I'm curious to see the...
May 17, 2007 at 4:23 am
Viewing 15 posts - 21,796 through 21,810 (of 22,184 total)