Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return multiple rows from a Stored Procedure in Firebird
Message
From
18/07/2004 08:27:18
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00925253
Message ID:
00925562
Views:
14
This message has been marked as the solution to the initial question of the thread.
Hi
You need a selectable stored procedure
SQLEXEC(nConnHnd, [SELECT * FROM MY_SP( ?param )])
stored procedure sample
CREATE PROCEDURE MY_SP (
    PARAM INTEGER)
RETURNS (
    COL1 INTEGER,
    COL2 INTEGER)
AS
begin
    for select col1, col2 from parent_table where id_parent = :param
    into :col1, :col2 do
    begin
      suspend;
    end
end
>Hi,
>
>How can I return multiple rows from a Stored Procedure in Firebird database?
>
>Thank you
>
>Adionei
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform