in reply to Re^4: dbi placeholders
in thread dbi placeholders

deleted the bind but another error: fetch failed: Function sequence error (SQL-HY010)

Replies are listed 'Best First'.
Re^6: dbi placeholders
by poj (Abbot) on Aug 06, 2014 at 17:48 UTC
    Try executing $sth1
    my $sth1 = $dbh_0->prepare ("select * from log"); my @fields = @{$sth1->{NAME_lc}}; $sth1->execute(); $sth1->bind_columns (\@rec{@{$sth1->{NAME_lc}}});
    poj
Re^6: dbi placeholders
by marto (Cardinal) on Aug 06, 2014 at 14:43 UTC

    Did you research this error code?

      yes, but didn't make any sense out of it. There is a 'sequence' of function calls; something is called out of order....
Re^6: dbi placeholders
by Tux (Canon) on Aug 06, 2014 at 14:47 UTC

    Is this related? I don't have MS-SQL.


    Enjoy, Have FUN! H.Merijn