MySQL Forums
Forum List  »  General

How do can I fet SQL to always load the data stamped with current date?
Posted by: don't ask
Date: December 17, 2019 10:41PM

OK sorry for the newb post ?? but I need to always have my table loading the latest data..

SELECT *
FROM Dashboard.vinfoshort
Where RUnDate > '2019-12-17'

This works but as you can see I've hard coded greater than > 17th which sucks...I'm pretty sure it's going to give me everything from the 17th fwd which isn't the desired outcome..

anyone got a better method?

John

Options: ReplyQuote


Subject
Written By
Posted
How do can I fet SQL to always load the data stamped with current date?
December 17, 2019 10:41PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.