10 messages in com.mysql.lists.mysqlRe: keeping order of insertion.
FromSent OnAttachments
Carlos Paz16 May 1999 17:30 
Paul DuBois16 May 1999 18:44 
Carlos Paz18 May 1999 14:38 
Thimble Smith18 May 1999 14:50 
Pete Harlan18 May 1999 14:57 
Carlos Paz18 May 1999 16:23 
Stephen F. Johnston Jr.18 May 1999 17:50 
Dan Nelson19 May 1999 08:02 
Michael Widenius22 May 1999 01:45 
Michael Widenius22 May 1999 02:22 
Subject:Re: keeping order of insertion.
From:Michael Widenius (mon@kaskela.pp.sci.fi)
Date:05/22/1999 02:22:32 AM
List:com.mysql.lists.mysql

Hi!

<cut>

Carlos> Ok, ok, I surrender, I'm not gonna argue about this anymore, but I'd
like Carlos> to abuse a little more of your patience if you will...

Carlos> I want to develop a search systems that uses a cache: if you look for Carlos> something then you got the first X items, then if you hit the "show me
the Carlos> next X hits" button I won't make that search again; instead of that,
I'll Carlos> show you the following records from the cache already mentioned.

Carlos> Since Mysql doesn't support SELECT... INTO yet

<cut>

MySQL does support the syntax:

INSERT INTO table SELECT ...

This is basicly the same thing as what you are asking for and this is the ANSI SQL way to do it!

Regards, Monty