Viewing 15 posts - 1,111 through 1,125 (of 1,473 total)
Lynn Pettis (11/14/2008)
This code handles the values provided by Seth.
Oops, yeah it does. Ignore my earlier comments about the extra piece, I keep misreading STUFF.:blink:
As a side note, the...
November 14, 2008 at 10:41 am
Can your data include commas as well? Let's have a for instance:
ID TXT
1 This is my first line of data, isn't it awesome?
1...
November 14, 2008 at 9:30 am
Jeff Moden (11/14/2008)
Garadin (11/14/2008)
Not sure if Jeff is gonna slap me for this one, but we'll see.
Heh... firing porkchop #1... [font="Arial Black"]SLAP![/font] 😛 Ya gotta put a clustered index or,...
November 14, 2008 at 9:16 am
Dooza (11/14/2008)
November 14, 2008 at 8:24 am
Yeah, I have a bad habit of "skimming" what people say and just looking at their code. Also, remember that these things will always be limited on what they...
November 14, 2008 at 8:16 am
You CAN do this with the following code. However, please note that it's not necessarily a good idea. Can you explain the reason this is needed?
INSERT INTO TableB(TAmount,GAmount,PAmount)
SELECT...
November 14, 2008 at 7:58 am
Hah. Great minds think alike! (Although, I'm sure dumb people think alike too, so let's hope we fit the first category).
November 14, 2008 at 7:53 am
First, allow me to state that this isn't a good idea in the first place. Those numbers should be stripped out of that field and put in a new...
November 14, 2008 at 7:07 am
Raises Hand. But... just me. Not like... other people. Those guys screw everything up. 😉
November 14, 2008 at 6:12 am
Is the list of columns to be concatenated dynamic, or is it a fixed list? (IE. it will only ever be columns A,B,C,D,E, and you only want to see...
November 13, 2008 at 11:42 am
Thanks for the feedback Art, glad we could help.
November 13, 2008 at 10:46 am
Your join seems wrong. (Without knowing what your data/table structure is, I can't say that it IS wrong, but to me it looks wrong)
Do you have an EmployeeID in...
November 13, 2008 at 10:38 am
I was originally thinking of using FOR XML PATH as well, but the TEXT references and the varchar(max) made me worry about getting the commas in there properly.
Todd,...
November 13, 2008 at 8:33 am
Paul,
Since you seem to be unwilling to read the post we've tried to send you to a dozen times so far, let me sum up the gist of...
November 13, 2008 at 8:07 am
Please refer to the link in my signature for how to post table structure/sample data here.
November 13, 2008 at 7:58 am
Viewing 15 posts - 1,111 through 1,125 (of 1,473 total)