Viewing 15 posts - 44,431 through 44,445 (of 59,063 total)
In other words, what we do "depends" on what situation. And that's how it should be. We need some rules, we need to enforce them, but we also need exceptions...
March 23, 2009 at 9:06 pm
Heh... what??? You guys didn't know that "SMO" stood for "[font="Arial Black"]S[/font]low [font="Arial Black"]M[/font]oving [font="Arial Black"]O[/font]bjects"? 😛
March 23, 2009 at 8:58 pm
Mouli,
I believe this will solve your problem... no UDF overhead... no need for CROSS-APPLY. Just use the whole thing as another derived table. I suppose it could be...
March 23, 2009 at 8:52 pm
Sorry... went to edit and ended up double posting, instead... please see below in my next post.
March 23, 2009 at 8:50 pm
Chirag (3/23/2009)
declare @str varchar(100)
select @str = '1230-544,15C5487,132DE78'
;With Breakdown as
(
Select
SubString(@Str,1,1)[Chr],
1[Idx]
Union All
Select
SubString(@Str,Idx+1,1),
Idx+1
from Breakdown
where (Idx+1)<=Len(@Str)
)
select chr from Breakdown where isnumeric(chr) = 1
Edit:- This will return ',' and...
March 23, 2009 at 5:24 pm
Like derived tables and CTE's, every time you reference a view in the from clause of query causes the view to be "re-executed" (results materialized) and that's gonna make for...
March 23, 2009 at 5:20 pm
polo_sport09 (3/22/2009)
i think i need to set identity to...
March 23, 2009 at 5:10 pm
pedro.ribeiro (3/23/2009)
I have a table. This table (table1) as 3 columns (name,address and number).
The fields 1 and 2 (name and address) are already with data.
I need to...
March 23, 2009 at 5:08 pm
I don't believe any of that is necessary in either 2000 or 2005, but I can't tell without some sample data ... please see the link in my signature below...
March 23, 2009 at 4:53 pm
Have you any sample data that you'd like to share along with the expected answer to make you thread perfectly clear? And, before you post any data, please take...
March 23, 2009 at 4:40 pm
Betim Drenica (3/23/2009)
Hi guys,Thanks a lot for your posts!
First I am not SQL Server newbie, and 2nd I am asking in the kind of poll!
Thanks!
Heh... you should have stated that...
March 23, 2009 at 4:29 pm
karthikeyan (3/23/2009)
All,Which country is best for outsourcing? I believe i will get some interesting answers.
Why do you want to know?
March 23, 2009 at 4:13 pm
RBarryYoung (3/23/2009)
Steve Jones - Editor (3/23/2009)
Thanks :blush:good to meet you as well and glad you liked the presentation.
So what's Lynn really like in person? Can you actually see the...
March 23, 2009 at 2:37 pm
halifaxdal (3/23/2009)
Jeff Moden (3/20/2009)
halifaxdal (3/20/2009)
March 23, 2009 at 2:29 pm
Viewing 15 posts - 44,431 through 44,445 (of 59,063 total)