Viewing 15 posts - 13,981 through 13,995 (of 15,381 total)
Well then as Lowell said you can't do this with sql alone. This is more Lowell's expertise than mine but that is going to be pretty painful. You are going...
September 21, 2011 at 2:08 pm
Charlottecb (9/21/2011)
September 21, 2011 at 2:03 pm
WOOHOO!!! Score +1 for bullseye shot in the dark. 😛
September 21, 2011 at 1:44 pm
venoym (9/21/2011)
Here's some food for thought for you. Use the split function that Sean mentioned to split the strings into tables. Then join them (full outer join) and...
September 21, 2011 at 1:22 pm
So basically, the question is not how to split the arrays but how to loop through two split arrays so that I can capture every combination and execute the "real"...
September 21, 2011 at 1:16 pm
Charlottecb (9/21/2011)
Problem: I have a table populated by an external system which stores image data in a varbinary column. I need to create a trigger on the table so...
September 21, 2011 at 12:33 pm
iluvmyelement (9/21/2011)
Thanks Sean - that's almost there! For some reason it's cutting off the first digit in that new column. (e.g. 16 is showing as 6 for me)
OK...
September 21, 2011 at 12:28 pm
iluvmyelement (9/21/2011)
If you take that query - what I need is third column that shows the first value that is in the concat field (the one with the "stuff" command).
What...
September 21, 2011 at 10:02 am
Michael A. (9/20/2011)
September 21, 2011 at 8:08 am
And don't add an accidental space into Lowells naming convention. (WHORE SULTS). :w00t:
Which when I first read it i transposed the U and L in the second word....sheesh!!!
September 20, 2011 at 3:23 pm
Remember my comment about making things easy for people to work on your problems by providing ddl, sample data and desired output. I provided that for you in a previous...
September 20, 2011 at 3:22 pm
It returns EXACTLY what you asked for in your first post. What is the code you tried?
September 20, 2011 at 2:15 pm
You edited your previous post while I was composing my response. Just change the order by in my above post to use Col3 and it should work for you.
September 20, 2011 at 2:06 pm
n_parker (9/20/2011)
ok - just found a column with unique values that we could use. Let's call it COL3 (ADDED UP IN FIRST POST)
Something like this should work then. Notice...
September 20, 2011 at 2:04 pm
Certainly a cursor is not going to help much in the performance world at all. You need to come up with a set based solution for this instead of RBAR....
September 20, 2011 at 1:52 pm
Viewing 15 posts - 13,981 through 13,995 (of 15,381 total)