Viewing 15 posts - 1,381 through 1,395 (of 8,416 total)
jswong05 (1/3/2012)
On...
January 3, 2012 at 8:51 pm
Michael Valentine Jones (1/3/2012)
SQL Kiwi (1/3/2012)
Michael Valentine Jones (12/29/2011)
January 3, 2012 at 8:45 pm
steven.malone (1/3/2012)
Very interesting.Declaring the decimal variables as DECIMAL(35,20) gives the correct result.
But declaring the decimal variables as DECIMAL(35,19) gives the rounded result.
Two DEC(35,20) multiplied gives a result of (71,40). ...
January 3, 2012 at 9:49 am
L' Eomot Inversé (1/3/2012)
Hugo Kornelis (1/3/2012)
January 3, 2012 at 9:02 am
Diogy (1/3/2012)
Ohh come on!! I'm wrong again. I'm starting to think this is not meant for common people. LOL! But i'm learning much so thanks. 😉
:laugh: You're welcome!
January 3, 2012 at 7:15 am
L' Eomot Inversé (1/3/2012)
January 3, 2012 at 7:15 am
Dev (1/3/2012)
January 3, 2012 at 7:10 am
Jeff Moden (1/3/2012)
Interesting conclusions. I wonder why it runs just fine on a box with only 500 MB?
Which exact versions of SQL Server are you running, and are you...
January 3, 2012 at 6:28 am
Thanks, that's very helpful. As Chris noted earlier, the [LNK_CreatedBy_ID] column is defined as [numeric](18, 0) NOT NULL, but the procedure contains CONVERT(datetime,E.[b]LNK_CreatedBy_ID[/b],103) as [LNK_CreatedBy_ID]. Are you intending...
January 3, 2012 at 5:54 am
Gianluca Sartori (1/3/2012)
January 3, 2012 at 4:03 am
No worries Hugo, though I am a little depressed that the values I chose don't make the difference easier to spot - it really wasn't my intention for this question...
January 3, 2012 at 4:01 am
Hugo Kornelis (1/3/2012)
It doesn't happen very often, but today I find myself in disagreement with Paul. The correct answer is (or should be) DECIMAL...
Some good points, and it is true...
January 3, 2012 at 3:37 am
Michael Valentine Jones (12/29/2011)
January 3, 2012 at 3:23 am
David Moutray (12/27/2011)
January 3, 2012 at 3:19 am
archana 2530 (1/3/2012)
I had tried out with 3 of the options.. but still getting Same error.
Ok so it's not that then. Have a look at the code lines Chris...
January 3, 2012 at 1:28 am
Viewing 15 posts - 1,381 through 1,395 (of 8,416 total)