Código SQL [-] DECLARE @Presupuesto float SELECT @Presupuesto = :Presupuesto select @presupuesto, sum(cant*pvp) as total from lineasprescli where numpres= :Presupuesto
DECLARE @Presupuesto float SELECT @Presupuesto = :Presupuesto select @presupuesto, sum(cant*pvp) as total from lineasprescli where numpres= :Presupuesto