Error: The metadata could not be determined...
Posted: Thu 30 Oct 2014 08:09
Hi
I have a trigger by update, in this trigger a dynamic SQL. (MS SQL Server)
actually tested with UniDAC 5.5.12 I receive the following error message:
The metadata could not be determined because statement 'EXEC SP_EXECUTESQL @vSQL, N'@MandantId int,@DocType smallint,@Serialyear smallint,@Serialnr int,@Doc' in procedure 'SP_UPDATEREFERDOC' contains dynamic SQL. Consider using the WITH RESULT SETS clause to explicitly describe the result set.
With old version of UniDAC 4.1.5 works the update without error (the program remains the same)
the same program (always the same DB) with 5.5.12 from different workstations responds different: in some cases works, in some cases I receive this error
(I can't modify the trigger, I have many similar triggers and stored procedures by many customers)
What happens here? Can somebody help me?
Thanks
I have a trigger by update, in this trigger a dynamic SQL. (MS SQL Server)
actually tested with UniDAC 5.5.12 I receive the following error message:
The metadata could not be determined because statement 'EXEC SP_EXECUTESQL @vSQL, N'@MandantId int,@DocType smallint,@Serialyear smallint,@Serialnr int,@Doc' in procedure 'SP_UPDATEREFERDOC' contains dynamic SQL. Consider using the WITH RESULT SETS clause to explicitly describe the result set.
With old version of UniDAC 4.1.5 works the update without error (the program remains the same)
the same program (always the same DB) with 5.5.12 from different workstations responds different: in some cases works, in some cases I receive this error
(I can't modify the trigger, I have many similar triggers and stored procedures by many customers)
What happens here? Can somebody help me?
Thanks