Quantcast
Viewing all articles
Browse latest Browse all 23857

static Decimal value in insert query

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