I am doing school project and I have to create table and insert data by myself. The following is my SQL statements.
CREATE TABLE Package
(pkgcode char(4) primary key,
pkgname varchar(30) not null,
pkgdescription varchar(60) not null,
pickuplocation varchar(20) not null,
costperadult decimal (7,2) not null,
costperchild decimal (7,2) not null,
pkgremarks varchar(30) null)
INSERT INTO Package
VALUES
('K009',
'8D7N FUJIAN/MT.WUYI',
'A whole new experience: enjoy multi nation architecture in Gulangyu Island and UNESCO Mt.Wuyi',
'Jurong East',
700.00,
500.00,
'Hotel accommodation will be 4 stars.')
But I got the following error which is at the insert statement.
(Msg 8152, Level 16, State 14, Line 1 String or binary data would be truncated. The statement has been terminated.)
I would appreciate if anyone of you can help me. Thank you.