inserting large number of dates

Posted by Radhe on Stack Overflow See other posts from Stack Overflow or by Radhe
Published on 2010-06-06T09:20:06Z Indexed on 2010/06/06 9:32 UTC
Read the original article Hit count: 320

Filed under:
|
|

How can I insert all dates in an year(or more) in a table using sql

My dates table has following structure

dates(date1 date);

Suppose I want to insert dates between "2009-01-01" to "2010-12-31" inclusive.

Is there any sql query for the above?

© Stack Overflow or respective owner

Related posts about php

Related posts about sql