Ver originalDECLARE @Tabla VARCHAR(50)DECLARE @Cond INT DECLARE @SQL NVarchar(MAX) SET @SQL = N'Select * From ' + @Tabla + ' Where Columna = ' + CONVERT(VARCHAR,@Cond); EXECUTE SP_ExecuteSQL @SQL