String or binary data would be truncated. in sql server while insert statement -


i have table structure below..

enter image description here

but while running insert statement shows error..

insert ord_mst (orm_frcd,orm_orid,orm_mbid,orm_orqt,orm_ordt,sl_cd)values ('lym11111111','000174','lym11111111',2,'01/01/2009','123') 

enter image description here

your orm_frcd field has length of 10 , you're trying insert 11 characters.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -