Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Select quuery result sets

by petecm99 (Pilgrim)
on Aug 26, 2010 at 12:18 UTC ( #857428=note: print w/ replies, xml ) Need Help??


in reply to Select quuery result sets

You should be able to reference them as individual fields, like so:

$emp_qry->execute(); while ( my $emprec = $emp_qry->fetchrow_hashref ) { $tmp_e1 = $emprec->{e1}; $tmp_e2 = $emprec->{e2}; $tmp_e3 = $emprec->{e3}; $tmp_e4 = $emprec->{e4}; } $emp_qry->finish();

Hope this helps...


Comment on Re: Select quuery result sets
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://857428]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (14)
As of 2015-07-06 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls