I would like to create a procedure where I will pass the table name and Table Id as parameters, how could I do this? I have my example of how I would like to do
DECLARE @NomeTabela VARCHAR(50) = 'Region';
DECLARE @IdDaTabela INT = 1;
select * from Region
select @IdDaTabela from @NomeTabela