in reply to Why does the same SQL return different results in the DBI and in SQL*Plus?

You have to $sth->fetch at least once... probably once per row...

print "returned something ($server_id)\n" while $sth->fetch;

-Paul

Replies are listed 'Best First'.
Re^2: Why does the same SQL return different results in the DBI and in SQL*Plus?
by Akoya (Scribe) on Jul 06, 2007 at 20:04 UTC

    I knew it would be something simple.

    Thanks,
    Akoya.