MySQL Forums
Forum List  »  Newbie

Create a series of Records
Posted by: Marcel Allenspach
Date: February 13, 2014 12:41AM

Hi

I've got 2 tables, one (dates) with a simple date field (date) and a index (date_index), the other one (halfdays) with the following fields: halfday_index, halfday_code, date_index.

Now I've populated the dates table with severals dates. I would now like to create two records for each date in the halfdays table, the first record should have halfday_code = "morning" and the other one "afternoon".

Thanks
Marcel

Options: ReplyQuote


Subject
Written By
Posted
Create a series of Records
February 13, 2014 12:41AM
February 13, 2014 07:39AM


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.