Viewing 15 posts - 48,286 through 48,300 (of 59,095 total)
Sergiy (9/16/2008)
If any time you come up with an idea how to split quoted string usint Tally table - you know who's gonna appreciate...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 11:02 pm
Chirag (9/16/2008)
What happened to op?
I think we lost him a long time ago. He never did answer if it was for a single parameter or for a whole column....
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 10:06 pm
Heh... I might have it, ol' friend... I can't explain it, I just gotta do it. I'll be back. And you're right about the table... 3 columns. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 7:47 pm
By the way, when I said "It sure does", I meant it sure does fail... and in exactly the manner you suggested. Sorry for the confusion. 🙂
I'll be back......
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 7:27 pm
Ya beat me to it, John. 🙂
Not 100% sure but, using your good data, I think example 1 was meant to be something on the order of...
-- Example 1
DECLARE @EMail...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 7:09 pm
Dugi (9/16/2008)
This is the reason why you are or you should be the SQL SERVER MVP ...yayaya :hehe::hehe::hehe:Jeff, this code works perfect!
Heh... thanks for the awesome feedback, Dugi.
Still,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 6:16 pm
Manie, I gotta say it again... good article. You brought some good people out in the discussion about PatIndex. Nicely done! 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 6:04 pm
dphillips (9/16/2008)
Thank you for your many...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 6:03 pm
Can you show us one, Sergiy... so we can get the idea of how to do it? Thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 5:42 pm
Sergiy (9/16/2008)
Jeff Moden (9/16/2008)
It sure does...It "eats" the comma from the last value.
... but the OpenRowSet thing I showed does it right.
I explained why it's not an option.
Could re-export what...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 5:40 pm
It sure does...
... but the OpenRowSet thing I showed does it right.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 16, 2008 at 12:21 am
Great info! I gotta try it. Thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 11:28 pm
Cool! I'd guessed wrong. ColumnC in the orginal code wasn't prefixed by a table alias and I'd guessed it was in Table1. Thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 11:25 pm
Ummm... all those bloody REPLACE's are gonna be slow. I just thought of another way using our friends the Tally table and the "quirky update". It'll take me...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 11:21 pm
Heh... yeah, I wouldn't want to take a call in the middle of a cold one, either.
Split functions always work, especially on a single delimiter. Obviously, your stuff has...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 15, 2008 at 11:00 pm
Viewing 15 posts - 48,286 through 48,300 (of 59,095 total)