Viewing 15 posts - 3,346 through 3,360 (of 3,957 total)
Nice one Cadavre!
That's the same collation issue that I was trying to address the other day when timing REPLACE on another thread.
Just one question though. Did Jeff Moden put...
June 20, 2012 at 3:07 am
vinu512 (6/20/2012)
I can swear by anything right now that we are thinking the same stuff.
I was working something like the query you posted and as soon as i...
June 20, 2012 at 2:08 am
Jacobs_r86 (6/20/2012)
June 20, 2012 at 12:54 am
You know, when I first saw this thread I figured Lynn had nailed it.
But then Vinu, you posted these questions and I reread the OP's original statement. If your...
June 20, 2012 at 12:50 am
I don't know. But this gives you a result set with no column headers:
SELECT 123, 456
June 20, 2012 at 12:23 am
Jacobs_r86 (6/20/2012)
June 20, 2012 at 12:19 am
vinu512 (6/19/2012)
Oops!!!!....Sorry Dwain....didnt see your post...I guess...we were typing at the same time. 😀
No harm done. Seems we're frequently racing.
June 19, 2012 at 11:57 pm
vinu512 (6/19/2012)
June 19, 2012 at 11:56 pm
wendy elizabeth (6/19/2012)
June 19, 2012 at 11:48 pm
I'm not 100% sure of your question, but I see at least 3 issues here. First, your DDL and setup data is wrong (you're not INSERTing anything into @temp2),...
June 19, 2012 at 11:45 pm
Jacobs_r86 (6/19/2012)
June 19, 2012 at 11:25 pm
Let me add a couple of steps, because I realized I left something vital out:
4) So you see, the STUFF is really something like this:
STUFF( (subquery), 1, 1, '')
5)...
June 19, 2012 at 10:53 pm
Vinu,
OK, let's give the whole thing a shot step by step:
1. Here's an example of STUFF - it returns 'DEF' by stuffing an empty strings into positions 1-3.
SELECT STUFF('ABCDEF', 1,...
June 19, 2012 at 10:39 pm
Jacobs_r86 (6/19/2012)
And the 'ClientName' field isn't...
June 19, 2012 at 8:44 pm
Oops sorry. Wrong answer.
June 19, 2012 at 8:19 pm
Viewing 15 posts - 3,346 through 3,360 (of 3,957 total)