Viewing 15 posts - 1 through 15 (of 15 total)
Nevermind all...if found my issue. my "on" conditions were not specific enough in the actual code. once i fixed that, it worked like a charm!
February 11, 2018 at 5:49 pm
December 13, 2017 at 2:44 pm
I'm pulling in sales numbers from a database that is updated every 15 minutes and displayed on a monitor for our salespeople. The numbers are displayed in a graphical...
December 12, 2017 at 4:17 pm
Thanks Ed and Sue. I guess i was thinking there was some type of windows macro (mouse more and click) that will clear out messages like the one I have. ...
December 12, 2017 at 2:29 pm
Very cool!! Thank you for the link. I'll study this and see what i can do to set this up. You're awesome!
November 30, 2017 at 9:46 am
^^ Good point. I thought about that for other operational reports but for GL reporting, it will work fine.
Thanks
June 18, 2015 at 12:03 pm
This worked perfect! I didnt realize you can abbreviate the table names for ease of use later. That really helps!
This got me exactly what i needed though!...
June 18, 2015 at 9:25 am
Luis Cazares (2/20/2015)
select *
from orders o
JOIN stop first_stop on o.first_stop_id = first_stop.id
JOIN sales s ON o.id = s.reference
WHERE s.dis IN( 'a', 'b', 'c')
AND o.status =...
February 23, 2015 at 5:18 pm
Luis Cazares (2/19/2015)
February 19, 2015 at 6:27 pm
sqlnoob2015 (2/19/2015)
Luis Cazares (2/19/2015)
Did you run the exact same code I posted?
Note that I changed the JOIN to an APPLY and the column...
February 19, 2015 at 6:01 pm
Luis Cazares (2/19/2015)
Did you run the exact same code I posted?
Note that I changed the JOIN to an APPLY and the column expression...
February 19, 2015 at 5:56 pm
Luis Cazares (2/19/2015)
select
first_stop.actual_departure 'Start'
, last_stop.actual_departure 'End'
, last_stop.city_name 'End city'
, last_stop.state 'End state'
, last_stop.zip_code 'End zip'
, first_stop.city_name 'Start city'
, first_stop.state 'Start state'
, first_stop.zip_code 'Start zip'
, datediff (day, last_stop.actual_departure,...
February 19, 2015 at 4:57 pm
Sigerson (2/19/2015)
Is sales.Dis ever NULL?
Never Null.
February 19, 2015 at 3:47 pm
Viewing 15 posts - 1 through 15 (of 15 total)