Users Pricing

forum

home / developersection / forums / error while insert value in table.

Error while insert value in table.

Anonymous User 2667 15 Dec 2012
 when i insert any value in table when a error generated 
my table:
create table customer
(
id int primary key,
f_name varchar,
l_name varchar,
age int
)

insert Query:
insert into customer values(1,'John','Rob',22)

Error:

Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.
 help me anybody.




I am a content writter !


2 Answers