Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

The conversion of the nvarchar value ' 2012 ' overflowed an INT1 column. Use a larger integer column

$
0
0

Hi Gurus,

Need a urgent reply. I have select..into statement like below

select number, trannum into new from tran inner join base on tran.id=base.id. When i ran this query it is throwing error

"The conversion of the nvarchar value '2012 ' overflowed an INT1 column". Am not getting how it is coming. number column datatype is tinyint and trannum datatype is decimal(15,2). When am using following query with a singe column table is getting created.

select number into from tran inner join base on tran.id=base.id.

Please suggest me. Appreciate your help.

Thanks,

Ven.





Viewing all articles
Browse latest Browse all 23857

Trending Articles



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