Posts by Low Rider • 49 points
3 posts
-
1
votes1
answer190
viewsQ: Write dates (month/year) between two dates
Hello, I have two dates: Initial Before Jan-11 Oct-10 Feb-11 Sep-10 I would like to know how I can have a macro that writes the date between them adding these dates in two new lines and look in the…
-
2
votes1
answer80
viewsA: Variable stay rounding and spoil calculation
Solution: SET @in_weight = CAST(0 AS decimal(10,10)); SET @daily_gain := CAST(0 AS decimal(10,10)) ;
-
1
votes1
answer80
viewsQ: Variable stay rounding and spoil calculation
I have the following SELECT: SET @peso := 0; SET @ganho := 0; SELECT @peso := (SELECT SUM(peso)/1000 FROM entrada WHERE entrada_id = A.entrada_id)+@ganho AS peso, @peso, @ganho := (SELECT…