Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
siva.meti
Starting Member
32 Posts |
Posted - 2007-11-06 : 01:01:48
|
| 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 meMsg 8152, Level 16, State 14, Line 1String or binary data would be truncated.The statement has been terminated.Thanks Meti BEST OF THE BEST |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-11-06 : 01:05:50
|
| Your code is showing that you are creating countries3 table yet inserting into countries2 table. What does the DDL look like for countries2?Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
siva.meti
Starting Member
32 Posts |
Posted - 2007-11-06 : 01:47:04
|
| yes thanku i am sorryMeti BEST OF THE BEST |
 |
|
|
|
|
|