Viewing 15 posts - 46 through 60 (of 1,113 total)
I have read about "What is in your CLR" just now and noticed the below questions.
The above Q&A is part of a teaser for the PASS conference but it does...
November 21, 2012 at 9:44 pm
My version of code is (little bit changed)
SET STATISTICS TIME ON
PRINT 'Karthik'
SELECT @Email = SUBSTRING(email,CHARINDEX('.',email)+1,CHARINDEX('@',email)- CHARINDEX('.',email)-1)+ '.' +
REPLACE(email,'.'+ SUBSTRING(email,CHARINDEX('.',email)+1,CHARINDEX('@',email)- CHARINDEX('.',email)-1),'')
FROM email
SET STATISTICS TIME OFF
declare @Email varchar(250)
set statistics time...
November 20, 2012 at 10:35 pm
Since I never some across this kind of situation, I just know what is what.
I have just read about sign() & abs() functions. Thats it.
But I am seeing the...
November 20, 2012 at 5:21 am
EE,
Great! Thanks a lot for your time and detailed explanation!
November 20, 2012 at 5:19 am
I tried for 6 numbers with the below query.
select col1, col2, col3, col4, col5, Col6
,(s1+abs(s1)+s2+abs(s2)+s3+abs(s3)+s4+abs(s4)+s5+abs(s5)+ s6+abs(s6))/2 as Positive
...
November 19, 2012 at 9:56 pm
I know this is old thread..but the question is same once again...
did we upgrade from sql2005 to 2008 or 2012?
October 5, 2012 at 10:16 pm
I don't understand the below points.
1) Number of REPLACE selected (on what basis?)
say for example,
'k a r th i'
how many replace i have to...
October 5, 2012 at 9:50 pm
Jeff,
Can you also explain the another method in detail ?
I am really curious to know how the replace with some number combination is working?
65,33,17,9,5,3,2
October 3, 2012 at 10:34 am
I do agree all your points. I just thought this one while reading/replying to my another post. As all of you mentioned, it will break the original name into some...
October 2, 2012 at 10:07 pm
DECLARE @OriginalString VARCHAR(70)
--SET @OriginalString = 'karthik keyan 44768 ...
October 2, 2012 at 9:59 pm
I have used your code in SQL without changin anything. But in Sybase, I have done some customization.
October 1, 2012 at 9:08 pm
?
how? is it because of using NULL?
October 1, 2012 at 9:06 pm
yes. I can see double space.
say for example,
I used k arthi
k þarthi
i.e two space.
my statement:
str_replace(str_replace(str_replace('k arthi'),' ',' '+char(7)),char(7)+' ',' '),char(7),'...
October 1, 2012 at 11:08 am
Viewing 15 posts - 46 through 60 (of 1,113 total)