|
|
| Pathologically Eclectic Rubbish Lister | |
| PerlMonks |
Re: DBI errorby ralphie (Friar) |
| on Dec 01, 2003 at 10:46 UTC ( [id://311283]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
the dbi prepare method is for preparing a statement handle to which one passes values at execution. in your case, i would expect to see something like ...
my $sthD = $dbh->prepare("INSERT into ICD_specifications_for_disea
+se (Range_key, A, B, C, D, E, F, G) VALUES (?,?,?,?,?,?,?);
then you execute the statement with$sthD->execute(19,'E',9,'430','438');for example. You can execute a large statement like this, but that would be done with the do() method.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||