Server: Msg 8115, Level 16, State 6

  • I got following error while executing an query .

    Kindly give me a solution asap.

    Server: Msg 8115, Level 16, State 6, Arithmetic overflow error converting varchar to data type numeric.

    Thanks.....Prashant.

  • like the message says, you're trying to convert a varchar to a numeric datatype. The content of the varchar is not a number !

    This can also occur with implicit conversions when comparing a varchar column to a numeric datatype column.

    this query may give you an idea.

    select *

    from table1

    where ISNUMERIC (youvarcharcolumn) = 0

    Johan

    Learn to play, play to learn !

    Dont drive faster than your guardian angel can fly ...
    but keeping both feet on the ground wont get you anywhere :w00t:

    - How to post Performance Problems
    - How to post data/code to get the best help[/url]

    - How to prevent a sore throat after hours of presenting ppt

    press F1 for solution, press shift+F1 for urgent solution 😀

    Need a bit of Powershell? How about this

    Who am I ? Sometimes this is me but most of the time this is me

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

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