MySQL Forums
Forum List  »  PostgreSQL

Re: PostgreSQL generate_series function
Posted by: Susanne Ebrecht
Date: December 17, 2010 01:29AM

Hello,

unfortunately, there is not such a function in MySQL.

I always use in MySQL:
INSERT into t values(...); -- for the first row
INSERT into t SELECT * from t; -- for the next row
INSERT into t SELECT * from t; -- for the following two rows
INSERT into t SELECT * from t; -- for the following four rows
and so on

Options: ReplyQuote


Subject
Views
Written By
Posted
8538
October 04, 2010 01:40PM
Re: PostgreSQL generate_series function
4932
December 17, 2010 01:29AM


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.