0
I want to pass N parameters of N types to a dynamic process.
How can I do it?
Example: struct = (Here the structure will be mounted with several parameters)
struct.id = 123 struct.name='Marisa' struct.data='2020-06-16' . . . Run sp_execute Project struct
How to pass? And in the past, how to identify?
creates a type with equal values of your Structure, see more here: https://docs.microsoft.com/en-us/sql/t-sql/statements/create-type-transact-sql?view=sql-server-ver15
– Ricardo Pontual
feel your code and language. [MCVE]
– Leandro Angelo