Viewing 15 posts - 35,086 through 35,100 (of 59,099 total)
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
gary.morey (1/31/2011)
Thank you. That did it!
Heh... stop using font sizes, Gary. The defaults are just fine. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:59 am
sql_butterfly (2/4/2011)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:56 am
I pretty much suck when it comes to handling XML. 😀
Does anyone have an answer for this?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 13, 2011 at 11:43 am
Viewing 15 posts - 35,086 through 35,100 (of 59,099 total)