Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Msg 245 Conversion failed when converting the varchar value to data type int although value is set to varchar

$
0
0
I have an Msg 245 conversion failed error keep popping up when I am trying to enter in values to a table. I have deleted and re-entered the column values several times now just to be sure I am not entering the value in wrong. But the column value the error keeps reoccurring in is set to varchar(125). I can see it displayed that way in the Object Explorer. However when I try to execute the query it always comes back with telling me it failed to convert to an int value. What am I missing? Is this a bug or me? Either way, how do I fix it?

Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>