The big thing missing from Aaron's blog is the code he used for each test.
Didn't see much on accuracy, either...
I agree about the MONEY datatype, though... I'd just as soon it weren't available...
DECLARE @dOne DECIMAL(20,4),
SELECT @dOne = 1,
@dThree = 3,
@mOne = 1,
@mThree = 3,
@fOne = 1,
@fThree = 3
SELECT @dOne/@dThree*@dThree AS DecimalResult,
@mOne/@mThree*@mThree AS MoneyResult,
@fOne/@fThree*@fThree AS FloatResult
is pronounced ree-bar and is a Modenism for R
First step towards the paradigm shift of writing Set Based code: Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair
How to post code problemsHow to post performance problemsForum FAQs