On Mon, 2005-05-16 at 15:22, Ing. Branislav Gerzo wrote:
> Hello,
>
> I'd like to do something like this:
>
> $sth->prepare(...)
> $sth->execute(...)
> while (my $hr = $sth->fetchrow_hashref) {
> my $oses = get_os( $hr->{id} );
> ...
> }
>
> Function get_os() prepare, execute and ret
Hello,
I'd like to do something like this:
$sth->prepare(...)
$sth->execute(...)
while (my $hr = $sth->fetchrow_hashref) {
my $oses = get_os( $hr->{id} );
...
}
Function get_os() prepare, execute and return $sth->fetchall_arrayref();
but I'm getting error:
DBD::ODBC::st execute faile