RE: using temp tables...

2004-08-10 Thread Victor Pendleton
CREATE TEMPORARY TABLE table SELECT * FROM source_table ... Query temp table ... DROP TABLE temp_table -Original Message- From: bruce To: [EMAIL PROTECTED] Sent: 8/10/04 12:45 AM Subject: using temp tables... hi... in trying to get a better understanding of temp tables. is there a way

Re: using temp tables...

2004-08-09 Thread Michael Stassen
Temporary tables work pretty much like regular tables, except they don't last. CREATE TEMPORARY TABLE bar SELECT * FROM foo WHERE ... UPDATE bar SET ... SELECT * FROM foo JOIN bar on foo.id = bar.id WHERE ... Michael bruce wrote: hi... in trying to get a better understanding of temp tables.