0

can anyone tel me the reason for this error:

Error converting data type varchar to int error?

I see it while inserting values from ASP page to SQL 2000

1
  • Provide the exact (cut and pasted) error message. Some code wouldn't hurt either. Commented Aug 14, 2010 at 9:26

1 Answer 1

1

You can't convert strings to integers if they are not made entirely from numbers.

So, if you try to convert aaa to an int, this will fail. If you try to convert the varchar 123 to an int, it will work.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.