Posts by Nuno Morgado • 1 point
1 post
-
-2
votes1
answer32
viewsQ: Pass database and table as parameters to process
I need to make a Stored Procedure of the following kind: USE master GO CREATE PROCEDURE dbo.sp_DR @bd NVARCHAR(20), @VAL AS INT AS SELECT * INTO #TEMP FROM @bd where campo =@val SELECT campo1,…