web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Retrieving data using ...
Power Automate
Unanswered

Retrieving data using an Oracle Stored Procedure

(0) ShareShare
ReportReport
Posted on by 4

We have a stored procedure on Oracle that returns a number of variables. we can call the SP using Execute an Oracle Query as we need to declare some variables up front. It runs but we are not able to see the output variables. We have tried numerous ways to look at the ResultSet.Table1 in PA and the QueryResult in PAD. But they are all empty.

 

Does anyone know how to retrieve the results.?  We have a work around in PAD using a JAVA file to run the SP using POWERSHELL and we are then able to parse the return string and it works. 

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @lf9297 

     

    Are you using Execute Query activity ?

  • lf9297 Profile Picture
    4 on at

    In PA we used Execute a Oracle Query and Execute Stored Procedure. In PAD we used the Execute SQL Statement. You can try this SP to test if you like. It has one output. Thanks.

     

    CREATE OR REPLACE PROCEDURE today_is
    (
    dayout OUT VARCHAR2
    )
    AS
    BEGIN
    -- display the current system date in long format
    dayout := TO_CHAR(SYSDATE, 'DL');
    END today_is;

     

    We use this to call the SP in the statement - it runs but no data comes back:

    declare
    dayout varchar(100);
    BEGIN
    today_is(dayout);
    dbms_output.put_line(dayout);
    END;

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard