> From: Tim Bunce <[EMAIL PROTECTED]>
> Date: 2004/09/30 Thu PM 03:06:59 GMT
> I think you'll find execute_for_fetch() much easier to work with.
So, I've followed your recommendation, but I'm having just a bit of an issue...
if ($insCount == $sendRows) {
my $temp_count = 0;
my @tuple_status;
$DataInsert->execute_for_fetch( sub { shift @insArrays }, [EMAIL PROTECTED]);
print "Added $insCount rows...\n";
$insCount = 0;
while ($temp_count < $colttl) {
print "clearing column $temp_count..\n";
$insArrays[$temp_count] = undef;
$temp_count++;
}
}
Which gives me:
DBD::ODBC::st execute_for_fetch failed: called with 101 bind variables when 5 are
needed at D:\development\dbd_db.pl lin
e 446, <TEXT_DATA> line 101.
Ugh... Pointers?
Thank you,
amonotod
--
`\|||/ amonotod@ | sun|perl|windows
(@@) charter.net | sysadmin|dba
ooO_(_)_Ooo____________________________________
_____|_____|_____|_____|_____|_____|_____|_____|