Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How to retrieve multiple output sets using DBI

by NetWallah (Canon)
on Feb 08, 2019 at 18:20 UTC ( [id://1229636]=note: print w/replies, xml ) Need Help??


in reply to How to retrieve multiple output sets using DBI

How about: (postgres example)
SELECT 'one' UNION SELECT 'two' UNION SELECT 'three'; ?column? ---------- one two three (3 rows)

                As a computer, I find your faith in technology amusing.

Replies are listed 'Best First'.
Re^2: How to retrieve multiple output sets using DBI
by roho (Bishop) on Feb 08, 2019 at 18:51 UTC
    Thanks NetWallah, but I should have mentioned that the multiple selects in my example were just for brevity. I am actually executing a Stored Procedure that generates multiple output sets. The solution suggested by poj displays all the output sets.

    "It's not how hard you work, it's how much you get done."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-23 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found