I have the following (returning two separate result sets) being successfully executed from a proc but cannot do the same when executing this as a basic query.
SELECT * FROM persons;
SELECT * FROM addresses;
Possible? What's the syntax?
EDIT:
I am using Ruby's DBI library:
dbh.query("SELECT * FROM persons; SELECT * FROM addresses;")