I have an input TVP
@_inputTvp TableType Readonly
and local variable
declare @_localVar varchar
I know how to insert TVP to a table, and variable value to a table. But now I have 2 source of data (TVP and local variable) to insert to table. Something like this?
insert into A_Table
values (@localVar, select col1, col2, col3 from @inputTvp)