Stored Procedure Und Multidataset
Hallo, ich möchte gerne mit Stored Propcedure arbeiten, MySql version 5.x. für Windows.
Wenn ich folgendes mache:
delimiter ##
create procedure test()
begin
select * from a;
end ##
delimiter;
Rufe ich diese Procedur auf bekomme ich folgendes Ergebnis:
a | b | c
---------------
1 | bla | blubb
2 | ca | etc
..|.
Wenn ich das ganze mit einem Cursor mach, weil ich Daten in der Procedure noch verändern möchte, bekomme ich nicht mehere Zeilen, sondern in MysqlWorlbench mehrere Ergebnis Tabs. Wie kann ich das ändern??
Wie sieht der Aufbau aus??
Das Ergebnis soll halt das selbe Aussehen haben, wei ein Select-Statement haben. Mit Firebird kein Problem und hier???
Danke T.Schuamnn
verschoben ins Deusche Forum
Edited 3 time(s). Last edit at 04/25/2012 04:40AM by Torsten Schumann.
Subject
Views
Written By
Posted
Stored Procedure Und Multidataset
1339
April 23, 2012 05:12AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.