MySQL Forums
Forum List  »  Newbie

Re: Error Code 1136.
Posted by: Steve Burrus
Date: May 09, 2018 11:22AM

Peter I STILL get the damn Error code 1136 when I try to execute the "INSERT INTO" statement. What's wrong with this NOW?

CREATE TABLE IF NOT EXISTS `store_items` (
`store_id` int(7) NOT NULL ,
`merchandise` varchar(48) COLLATE utf8_bin NOT NULL,
`store_addrr` varchar(45) COLLATE utf8_bin NOT NULL,
`store_city` varchar(33) COLLATE utf8_bin NOT NULL,
`store_st` char(2) COLLATE utf8_bin NOT NULL,
`store_zip` int(5) NOT NULL,
`store_phone` varchar(15) COLLATE utf8_bin DEFAULT NULL,
PRIMARY KEY (`store_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='Thois will a simple table which lists certain items that are in a retail store.';

INSERT INTO `store_inventory`.`store_items` ('store_id','merchandise', 'store_addrr', 'store_city', 'store_st', 'store_zip' , 'store_phone')
VALUES (167, 'Computer Software', '18453 Main St.', 'Richardson', 'TX', 75238, '214-358-4238'),
(23, 'Men\'s Sox', '2498 Overdale Dr.', 'Dallas', 'TX', 75298, '972-235-2393'),
(56923, 'Women\'s Bras', '76 McKinney Ave.', 'Dodge', 'KS', 85912 ),
(438, 'Office Furniture', '658 Stonecrest Dr.', 'Richardson', 'TX', 75254, '972-238-5111'),
(671, 'Kitchen Accessories', '52398 Elm St.', 'New York City', 'NY', 28743),
(1001, 'Bathroom Items', '2585 Commerce St.', 'Stamfort', 'CT', 38187, '676-422-3850'),
(0437818, 'Pet Supplies', '35 NW Highway', 'New Orleans', 'LA', 57238, '512-363-4912'),
(39163, 'Bedroom Furniture', '83761 Ventura Dr.', 'Los Angeles', 'CA', 75238, '469-892-2109');

Options: ReplyQuote


Subject
Written By
Posted
May 08, 2018 10:50AM
May 08, 2018 08:54PM
May 08, 2018 09:08PM
Re: Error Code 1136.
May 09, 2018 11:22AM
May 09, 2018 01:38PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.