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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / SQL Stored Procedure E...
Power Automate
Unanswered

SQL Stored Procedure Error ON Prem (SET ANSI_WARNINGS OFF)

(0) ShareShare
ReportReport
Posted on by 69

I'm receiving the following error:

 

"Microsoft SQL: String or binary data would be truncated.\r\nThe statement has been terminated.\r\n
 
When I execute the stored procedure locally, it works perfectly (using SET ANSI_WARNINGS OFF).   Not having the same luck executing from flow.  Any ideas?
Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @KUNGFUPANDA559 

     

    This is probably due to the size defined in the database. You're probably trying to insert a 15 character string in a varchar(14) for example.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    ​
    Cheers
    Manuel

  • KUNGFUPANDA559 Profile Picture
    69 on at

    It was definitely an error with the data fields, and sizes of the data that was being submitted.  After review, I was able to identify the problem.

     

    Thanks,

     

    Tony

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard