I've developed a stored procedure to retrieve the travel logs for vehicles on a specified date. The issue I'm hitting now is I want all vehicles, even if they didn't travel on that date to be returned, with the travel info simply blank. i.e.
Vehicle1 June 13 25Kilometers
Vehicle2 June 13 10Kilometers
Vehicle3
Vehicle4 June 13 10Kilometers
Other records may or may not exist for a vehicle on other days, thus the = june 13 or travellog.date isnull won't work.
Any ideas
Vehicle1 June 13 25Kilometers
Vehicle2 June 13 10Kilometers
Vehicle3
Vehicle4 June 13 10Kilometers
Other records may or may not exist for a vehicle on other days, thus the = june 13 or travellog.date isnull won't work.
Any ideas