I'm trying to create a procedure that, depending on the price range, takes a different field from the table.
Create Procedure BuscaPreco
@preco decimal,
@faixa1 int,
@faixa2 int,
@faixa3 int,
@faixa1=100,
@faixa2=200,
@faixa3=300
Select
case...
asked by
24.10.2017 / 16:15