By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,363 Members | 2,473 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,363 IT Pros & Developers. It's quick & easy.

Sql Error Message

P: 1
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.
Apr 12 '08 #1
Share this Question
Share on Google+
2 Replies


P: 92
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...
Apr 14 '08 #2

debasisdas
Expert 5K+
P: 8,127
The error message is self explanatory . It simply specifies that the character is not a number and can't be converted to number.
Apr 14 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.