How to convert a scientific notation number

  • I'm trying to retrieve a 16-digit number field from a SQL Server 2000 table. Instead of showing a full 16-digit number, like 2345654687654978, it gave me a number in scientific notation format, like 2.34E+15. I've tried to convert it into a numeric format and failed. Can you help me out here?

    Thanks,

  • Really, Iam not sure it will throw an error. Send the code segment also.

    I doubt the data type is not compatible. Better use bigint.

    If you are not going to manipulate the variable. Why not converting to varchar.

     

    Thanks,

    Ganesh

  • Disregard. This was a matter of bad data supplied by the past vendor.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply