List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:February 6 2003 11:00pm
Subject:Re: Data being not inserted in the table inspite of success from mysql
View as plain text  
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
Thread
Data being not inserted in the table inspite of success from mysqlmwahal6 Feb
  • Re: Data being not inserted in the table inspite of success from mysqlDan Nelson7 Feb