Viewing 15 posts - 35,086 through 35,100 (of 59,102 total)
Ok... the following function will pretty much blow the doors off of other splitter functions including some of my old ones. I'll be using this new function in a...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2011 at 12:35 am
Yeah... that's the function I was thinking it was. It's going to be really slow because of the While Loop. And, yeah, I know... you don't have a...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2011 at 12:18 am
ramana 45417 (2/13/2011)
How many types of integer primary keys we can give?Thanks,
Rams
This will sound strange but the answer is... "All of them". Every integer type can be used as...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2011 at 12:13 am
L09041975 (2/13/2011)
Is it possible to write a loop in a function? I'm getting the following error:"Cannot access temporary tables from within a function"
Is there a work around? :crazy:
My...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 14, 2011 at 12:11 am
sql_butterfly (2/13/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:58 pm
Craig Farrell (2/13/2011)
Koen Verbeeck (2/13/2011)
The developer shouldn't be the only one who is testing his code. Unfortunately...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:55 pm
Anamika (2/13/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:46 pm
sqldba_icon (2/13/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:41 pm
Ack! I just reread your requirements. The part about multiple-parents for a given category ID isn't something easily resolved. Are you sure about the "multiple-parents" thing?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:37 pm
malik.robinson (2/13/2011)
I will keep trying to...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:35 pm
Now be careful folks. You've both built Triangular Joins which can be literally millions of times worse than a cursor. If you don't want to use the "Quirky...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:24 pm
mister.magoo (2/13/2011)
Jeff, you gotta learn some XML !
Ok... how about an article on it? 😀
In the meantime, care to explain the code you wrote so an XML dummy like me...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:16 pm
SQLCHILD (2/13/2011)
Thanks a lot for your reply, i also wanted to know that how do temporary tables hold the result set of a stored procedure. i have read...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:07 pm
That's likely going to be quite slow because of the While Loop.
Your function will spilt single City.But i have to split some array of City
Why? :blink:
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 12:57 pm
One of the better ways to do this would be to do a BULK INSERT using "|" as the delimiter.
That, notwithstanding, I agree that a "Tally Table" based splitter function...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 12:40 pm
Viewing 15 posts - 35,086 through 35,100 (of 59,102 total)