MySQL Forums
Forum List  »  MySQL Query Browser

Re: Help with query
Posted by: Jimbo 99
Date: November 19, 2010 04:33PM

You can add a record or several new record(s) for today's date into the appointments table,

then replace this line of SQL Code:

and a.ApptDate = '2010-09-17'

with this line of SQL Code:

and a.ApptDate = current_date

That will get you a current dates appointments.



Edited 1 time(s). Last edit at 11/19/2010 04:34PM by Jimbo 99.

Options: ReplyQuote


Subject
Written By
Posted
November 17, 2010 11:44PM
November 19, 2010 06:15AM
November 19, 2010 10:44AM
C H
November 28, 2010 04:36PM
November 19, 2010 01:56PM
November 19, 2010 04:17PM
Re: Help with query
November 19, 2010 04:33PM
November 20, 2010 05:44AM
November 20, 2010 09:21AM


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.