in reply to Re^9: MySQL INSERT in Perl
in thread MySQL INSERT in Perl
my $ins_rec="INSERT INTO $table (symbol,valuation_dt,expn_dt,strike,op +en,bid,ask,last,volume) VALUES(?,?,?,?,?,?,?,?,?);"; # print "my ins_rec is $ins_rec\n"; my $sth=$dbh->prepare($ins_rec); $sth->execute(\'$h1{'symbol'}\',now(),\'$exp\',$h1{'strike'},$h1 +{'open'},$h1{'bid'},$h1{'ask'},$h1{'last'},$h1{'volume'});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: MySQL INSERT in Perl
by baperl (Sexton) on Aug 04, 2011 at 22:45 UTC |