Sql Error Message

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TEXMXJR
    New Member
    • Apr 2008
    • 1

    Sql Error Message

    I'M NEW TO SQL I'M GETTING THIS ERROR WHEN WRITING SQL CODE PLEASE HELP A STUDENT


    Msg 245, Level 16, State 1, Line 1
    Conversion failed when converting the nvarchar value 'I-2001 ' to data type int.
  • deric
    New Member
    • Dec 2007
    • 92

    #2
    Hi.. The error message already state the obvious problem. It cannot convert a value with a letter (or a non-numeric character, just like the "l" and the "-") to an integer. Review your code in the specified line in the error message...

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      The error message is self explanatory . It simply specifies that the character is not a number and can't be converted to number.

      Comment

      Working...