Viewing 15 posts - 33,961 through 33,975 (of 59,099 total)
peterzeke (5/11/2011)
Jeff Moden (5/10/2011)
Pete,Based on the findings in the post above, will you ever have a condition where the first character isn't a letter?
Jeff -- the first character should just...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2011 at 8:03 am
garima.khandelwal (5/11/2011)
DECLARE @STRING VARCHAR(8000);
DECLARE @Pos int =1;
DECLARE @FINALSTRING VARCHAR(8000) = '';
DECLARE @COUNTER int = 0;
DECLARE @DELIMINATOR VARCHAR(1)...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2011 at 7:47 am
Mark-101232 (5/11/2011)
For completeness, here's a simple SQLCLR to perform the same task, appears to perform okay.
Now we know part of the reason why I usually provide a mountain of generated...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2011 at 7:36 am
Vedran Kesegic (5/11/2011)
select * from dbo.Abbreviate(' aaa .. bbb ,, ccccc ')--Result (without ;):
&#;x20;
Sory, result text was eaten by some html machinery -...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2011 at 7:32 am
Vedran Kesegic (5/11/2011)
Today I can throw only cakes, drinks and ice-cream - my son was just born :hehe:
A very, very special occasion, indeed! Congratulations to you and your Wife,...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 11, 2011 at 7:29 am
bitbucket-25253 (5/10/2011)
Jeff Moden (5/10/2011)
Steve Jones - SSC Editor (5/10/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2011 at 11:56 pm
Koen Verbeeck (5/10/2011)
Jeff Moden (5/10/2011)
Steve Jones - SSC Editor (5/10/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2011 at 11:53 pm
Pete,
Based on the findings in the post above, will you ever have a condition where the first character isn't a letter?
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2011 at 9:02 pm
Vedran Kesegic (5/10/2011)
Jeff, what your function Abbreviate supposed to do ?It seems to me that it does not do much:
select * from dbo.Abbreviate('aaa bbb ccccc')
Result:
a
It works just fine for what...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2011 at 8:37 pm
GilaMonster (5/10/2011)
Steve Jones - SSC Editor (5/10/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2011 at 12:05 pm
SQLHeap (5/10/2011)
Thanks for your responses! I have what I was looking for with your help.
Outstanding! When you get done, would you post your final solution here, please? ...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2011 at 11:22 am
Steve Jones - SSC Editor (5/10/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2011 at 11:04 am
WayneS (5/10/2011)
--===== Test the RBAR function ========================================================================================
Total Duration in Seconds: 12
--===== Test the NON RBAR...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2011 at 10:54 am
peterzeke (5/10/2011)
As I'm sure you've heard from many others before, your thoroughness of tackling a problem is really...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2011 at 10:51 am
Pete,
Your code is in the reply above. Look for the "dbo.Abbreviate" function.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 10, 2011 at 8:56 am
Viewing 15 posts - 33,961 through 33,975 (of 59,099 total)