Forum Replies Created

Viewing 4 posts - 16 through 19 (of 19 total)

  • RE: converting float to decimal

    according to this example though...

    it looks as though it specifies only one record.

    set @var = 132456789.12552346

    thats fine cause i can concat the entire script

    against every records (few million rows), then...

  • RE: converting float to decimal

    quick recap

    declare @var float

    set @var = 132456789.12

    select cast(@var as decimal(11,2))

    i'm setting it up like this though i doubt it will work.

    declare @var float

    set @var = (table.column)

    select cast(@var as decimal(11,2))

    ideas?

  • RE: converting float to decimal

    here's the situation.

    i have a few million records that currently exist as a float which i need converted to

    decimal (25, 10) datatype, but whenever converted from Management Studio or

    Enterprise...

  • RE: converting float to decimal

    thanks for the reply...

    unfortunately it still errors out with the arithmetic overflow error.

    this is really unusual.

Viewing 4 posts - 16 through 19 (of 19 total)