Viewing 15 posts - 46,981 through 46,995 (of 59,095 total)
rbarryyoung (11/27/2008)
Jeff:Your function is called "NumberToWords" but you are calling "MoneyToWords", is this just a typo or am I missing something?
Heh... guilty as charged. The Phat-Phinger-Phairy made...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 8:52 pm
jacroberts (11/27/2008)
Here's my example:
We had a table of...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 8:25 pm
For the most part, Yes. On concatenation of such a small number of parts, not really.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 4:47 pm
Very cool code, Chris... your' guy's efforts made me finish up what I started and it looks nothing like the original code I posted... I couldn't stand the fact that...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 4:37 pm
Chris Morris (11/27/2008)
Jeff Moden (11/27/2008)
Chris Morris (11/27/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 3:04 pm
Chris Morris (11/27/2008)
Here's a 2k/2k5-friendly version with a permanent lookup table. It translates 30,000 numbers from a standard tally table, in both SQL Server versions, in about 4 seconds.
Ummm......
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 11:35 am
Lynn Pettis (11/27/2008)
And two, someone is going to come along and see your code in your RBAR TVF and use it somewhere else and it won't be effecient at all.
Heh......
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 11:10 am
Lynn Pettis (11/26/2008)
Good article, but let's take another approach and see what we see.
Heh... you beat me to it, again. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 11:02 am
Hugo Kornelis (11/27/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 11:00 am
Peso (11/27/2008)
The query returns 290 columns and joins 62 tables. Under these cirumstances I think 7 seconds is quite good.
Ditto.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 10:30 am
Mannie, thanks for posting the article... your points are well taken and the appearance of the article is actually very timely for me. It gave me a chance to...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 10:27 am
David Burrows (11/27/2008)
And Jeff makes a good point too. Not enough of you guys get credit for posting knowledge...
Hear, hear. 🙂
But I think we all owe thanks to folks...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 10:20 am
thisisfutile (11/25/2008)
Jeff Moden (11/25/2008)
Heh... then there's the "intelligent" ones that say things like "performance" doesn't matter and will argue for hours about it. The only reason why I continue...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 10:17 am
G Bryant McClellan (11/25/2008)
And Jeff makes a good point too....
--Jeff Moden
Change is inevitable... Change for the better is not.
November 27, 2008 at 9:49 am
Matt Miller (11/26/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 26, 2008 at 10:43 pm
Viewing 15 posts - 46,981 through 46,995 (of 59,095 total)