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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Executing a SQL SP ret...
Power Automate
Answered

Executing a SQL SP returns 1 CHAR output (trimmed) where the actual result is a full string

(0) ShareShare
ReportReport
Posted on by 30

Hi all,

I have a flow triggered by PVA, providing an ID (int).

I initialise 2 variables (var1, var2), both strings.

I connect to SQL Server (SQL Azure Database) - Execute Stored Procedure (V2) and run the procedure providing the ID above.

The procedure should return 2 values, both strings.

When I run the SP manually, it works fine and return what's expected.

BUT, when running from Power Automate, the output is somehow trimmed to be a single character.

I hope the attached images will demonstrate it properly.

Would appreciate any advice.

Thank you,

 

In SQL:

SQL_SP_Output.PNG

 

In Power Automate:

PA_SQLConnector_Output.PNG

Categories:
I have the same question (0)
  • v-alzhan-msft Profile Picture
    on at

    Hi @HaimOz ,

     

    Could you please share a screenshot of the configuration of your flow?

     

    Best regards,

    Alice   

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • HaimOz Profile Picture
    30 on at

    @v-alzhan-msft ,

    Please find below:

    Flow01.PNGFlow02.PNG

  • HaimOz Profile Picture
    30 on at

    Problem sorted. 

    All good now.

     

  • Verified answer
    v-alzhan-msft Profile Picture
    on at

    Hi @HaimOz ,

     

    Glad that your problem has been solved now.

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • RIALDI Profile Picture
    2 on at

    Hi @HaimOz 

    Could you please tell me how to fix that problem.. Because i have a same problem.. my Execute SP (V2) output params return only one char...

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard