Hi,
I have a store Procedure below which contains input parameter @customer_Test with varchar(8000).
ALTER PROCEDURE [dbo].[SPTestCustomer]
(
@company_id VARCHAR(8)
,@inv_mast_uid VARCHAR(2000)
,@prod_group_id VARCHAR(8) = NULL
,@customer_Test VARCHAR(8000)
)
AS
SET NOCOUNT ON
Select
count(@@ROWCOUNT) NumberofRows
FROM dbo.TableEmp
return
Now I successfully connected my database using On-Premise Gateway connector. And I am trying to execute my store Procedure through SQL Server "Execute stored procedure (V2)" action as shown below:

But my flow is failing and giving me error "The size (8000) given to the parameter '@Variable3' exceeds the maximum allowed (4000)."

This works well when I remove the input parameter with varchar(8000). Is there any limitation in MS Flow???