November 5, 2007 at 10:54 pm
Hi
create table countries3
(
country_id char(10) not null,
countr_name varchar(23),
region_id int)
insert into countries2 values('ca','canada',2)
i am inserting data into this table i am getting blow error any boyd help me
Msg 8152, Level 16, State 14, Line 1
String or binary data would be truncated.
The statement has been terminated.
Thanks
November 5, 2007 at 11:06 pm
You're creating table Countries3, but inserting into countries2. Is that a typo?
Are there any triggers on the table?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 5, 2007 at 11:47 pm
yes thanku u r right bye
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy