sybperl-l Archive
Up Prev Next
From: loan tran <loan_tr at yahoo dot com>
Subject: is there something like sth->fetchrow_hashref in sybperl
Date: Sep 23 2002 6:34PM
Howdy,
I'm looking for a function in sybperl(use
Sybase::DBlib) which does the same like this in
DBI(use DBI):
$sql = qq(select name,id from atable);
while($data = $sth->fetchrow_hashref){
print "name: $data{name}\n
id : $data{id}";
}
Your help is greatly appriciated.
Loan
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
|