I have two SP each one into database correspondingly, one Sp recieve parameters user-defined table types but doesnt work.
Display the following error:
The attempt by the provider to pass remote stored procedure parameters to remote server [linked server] failed. Verify that the number of parameters, the order, and the values passed are correct.
First Sp execute remote sp like this:
EXEC [linkedServer].[CCPMSG_DESA].dbo.SVA_GBR_OPE_SIS_SWP_WEB_SER_test
@TYPE_IGC_SWP_FIJ --Parameters user-defined tables type
Second Sp recieve parameters like this:
create procedure SVA_GBR_OPE_SIS_SWP_WEB_SER_TEST (
@TYPE_IGC_SWP_FIJ TYPE_IGC_SWP_FIJ READONLY)
as begin
end
Exists any issue with this mode of work, or exists another way to do it?