my $query = "select * from my_table"; my $sth = $dbh->prepare($query); $sth->execute or die "Error: unable to run query! " . $dbh->errstr; while (my $cols_ref = $sth->fetchrow_arrayref ) { print "@$cols_ref\n"; print "$_ : " foreach @$cols_ref; print "\n"; }
Jason L. Froebe
Help find a cure for breast cancer! Net proceeds benefit the Susan G. Komen Breast Cancer Foundation and the National Philanthropic Trust. Help by donating - I'm walking 60 miles in 3 days in August 2007. (The day I return from TechWave is the first day of the Walk).
In reply to Re: Setting the delimiter that Sybase query returns
by jfroebe
in thread Setting the delimiter that Sybase query returns
by airdoc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |