Re: temp tables mysql OT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tedd wrote:
Hi gang:

Another mysql question.

I would like to create a temporary table to perform searches.

From my main table, I need to exclude records that have certain fields that are null or empty; and then sort the final result.

Should be possible without a temp table I think..

I've spent over an hour looking at "How do I set up a temporary table in MySQL?" questions via Google with little help. My eyes and brain are blurry -- giving it up for tonight.

create temporary table tablename (
 ....
);

same as normal but put the 'temporary' in there :)

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux