in reply to Re^3: fetchall_arrayref hangs with placeholders query with no results
in thread fetchall_arrayref hangs with placeholders query with no results

When you use ? placeholders Sybase goes and creates a temporary stored procedure that corresponds to your SQL statement. You then pass variables to $sth->execute or $dbh->do, which get inserted in the query, and any rows are returned.

So ... Sybase is obviously very different from the usual SQL standard ...
  • Comment on Re^4: fetchall_arrayref hangs with placeholders query with no results