
INSERT INTO t1 SELECT a FROM t2 ORDER BY a LIMIT 10;

Is it possible in 7.1?

Dirk

Thu, 29 Mar 2001 17:31:42 +0200 (CEST)
Dirk Lutzebaeck <lutzeb@aeccom.com>
INSERT/SELECT with ORDER BY and LIMIT in 7.1?
Dirk Lutzebaeck wrote:
  >
  >INSERT INTO t1 SELECT a FROM t2 ORDER BY a LIMIT 10;
  >
  >Is it possible in 7.1?
 
Yes (I tried it).

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Trust in the Lord with all your heart and lean not on 
      your own understanding; in all your ways acknowledge  
      him, and he will direct your paths."  Proverbs 3:5,6  



Thu, 29 Mar 2001 22:47:13 +0100
"Oliver Elphick" <olly@lfix.co.uk>
Re: INSERT/SELECT with ORDER BY and LIMIT in 7.1? 