MySQL Forums
Forum List  »  General

Creating a "SET" to be used as a recordset
Posted by: Mehran Ziadloo
Date: April 28, 2005 07:13AM

Hi,
I'm looking for a select query which returns, for example, a date value for each day between to specified dates. The tricky thing is that there is no table containing all the records, or values, needed so I'm looking for a way to create such a recordset (without storing it). Conceptually it should be like this: SELECT Each-Day FROM (2002-1-1 TO 2003-1-1). Which returns 365 records.
Anyone has any idea?

Thanks for reading this.

Options: ReplyQuote


Subject
Written By
Posted
Creating a "SET" to be used as a recordset
April 28, 2005 07:13AM


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.