From: Dan Nelson Date: February 6 2003 11:00pm Subject: Re: Data being not inserted in the table inspite of success from mysql List-Archive: http://lists.mysql.com/mysql/131790 Message-Id: <20030206230040.GF16896@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In the last episode (Feb 05), mwahal@stripped said: > create table if not exists CBI (date DATE not null, close DECIMAL(10,2), high DECIMAL(10,2), low DECIMAL(10,2), volume MEDIUMINT, yest DECIMAL(10,2), PRIMARY KEY date (date)) > Query OK, 0 rows affected (0.00 sec) > > insert ignore into CBI Values('2003-02-05','31.2000','31.3500','31.0500','350','31.3500') > Query OK, 1 row affected (0.02 sec) <====== 1 row is added > > select * from CBI where date='2003-02-05' > Empty set (0.00 sec) Works for me on mysql 4.0.9. What does "select * from CBI" print? -- Dan Nelson dnelson@stripped