Viewing 15 posts - 1 through 15 (of 19 total)
GSquared... thanks for the explanation. i'm trying it out actually.
and... the results are in!
GSquared; you are much smarter than i am 🙂
it worked great... reeeaaalllyyy...
April 4, 2008 at 12:44 pm
i think i'm causing some confusion. i'll try to clear things up a bit.
i have a column full of numeric values. the column datatype is decimal (25,10)
if...
April 4, 2008 at 12:42 pm
thanks for the quick feedback.
perhaps i don't understand this yet in it's entirety:
"The CEILING function returns the smallest integer greater than or equal to the specified numeric expression. The FLOOR...
April 4, 2008 at 12:36 pm
Adam,
Thats some class... Worked better and 30 minutes faster than any solution I
could put together.
Thanks 🙂
February 5, 2008 at 6:52 am
well.. prior to all this my first attempt was to change the datatype
from float to decimal (25,10) however couldn't get passed the arithmetic
overflow error. not only from gui,...
February 4, 2008 at 2:04 pm
Adam, Thanks my friend.
So now; I can see the values both Decimal, and Float,
and it got through no problem. I'm so used to seeing errors,
that I'm amazed...
February 4, 2008 at 1:00 pm
Wow... It's unreal to how knowledgeable you guys are in this stuff.
I'm looking into the former script to see If I can get it to run properly.
I'm getting a declaration...
February 4, 2008 at 11:19 am
thanks for the feedback on that, but doesn't
this do the same thing?
update myTable
set myCol = round(myCol, 10, 1)
February 4, 2008 at 9:52 am
Ian,
all failed with the same error. i want to try something like duplicating the
table, then run an import but transform the data on the way over to the...
February 3, 2008 at 7:10 pm
added the new precision no problem,
then truncated using round(mycolumn, 10, 1) no problem.
then changed the datatype to Decimal (25, 10) using
the alter table - alter column command, and... after
a long...
February 3, 2008 at 2:34 am
it's interesting that you posted information about the 'round' function. i
was already running a few tests with it and was about to ask about using 'round' in a
conversion...
February 2, 2008 at 10:50 pm
i tried the GUI first thing when trying to convert the
datatype from float to decimal (25,10)
it errored out with the following in just about a minute:
"Arithmetic overflow error converting...
February 2, 2008 at 9:02 pm
ahh well... it was a pretty good run.
still get this error though:
Msg 8115, Level 16, State 6, Line 1
Arithmetic overflow error converting float to data type numeric.
i think cause there...
February 2, 2008 at 8:47 pm
adam... thanks for the samples
so far so good.... running past a couple million rows, and no issues...
i'll post an update when it's finished.
again... thanks 🙂
February 2, 2008 at 8:42 pm
first... thanks for all the good feedback. it's really appreciated.
the conversion that i did was using the gui. where you right click the table (FinMain), and
select 'design' ...
February 1, 2008 at 3:22 pm
Viewing 15 posts - 1 through 15 (of 19 total)