I found that there are several points in the stored procedures that I create where I want the stored procedure to accept a list of identifiers in different tables that the SP must execute. I am considering using table options. I am wondering if it is correct to create a single type that contains only one column "ID int" and use it as a data type for all my TVPs or is it better to determine the type for each SP in case I ultimately want to expand the transferred values.
Does anyone have any experience?
to change . If this is relevant to your recommendation, the list of identifiers that I pass can be around 150,000 entries.
source share