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

static Decimal value in insert query

$
0
0

HI am going to insert decimal value in table but i got this error" Arithmetic overflow error converting numeric to data type numeric."

HERE  val one is a decimal value how can do this?

INSERT INTO TBL(CON,VAL)
SELECT ID,'2.0' FROM TBL1


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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