Mixed Table Type with other types as parameters to Stored Procedured c#
- by amemak
Hi,
I am asking about how could i pass multi parameters to a stored procedure, one of these parameters is user defined table. When I tried to do it it shows this error:
INSERT INTO BD (ID, VALUE, BID)
values( (SELECT t1.ID, t1.Value FROM @Table AS t1),someintvalue)
here @Table is the user defined table parameter.
Msg 116, Level 16, State 1,…