Jump to content


Photo

Temporary Tables???


  • Please log in to reply
1 reply to this topic

#1 AV1611

AV1611
  • Members
  • PipPipPip
  • Advanced Member
  • 997 posts

Posted 29 June 2006 - 03:25 PM

If I do a query that create a temporary table like this

$result = mysql_query("create temporary table SILK (Select
products.COMP_COUNT,runtimes.HOURS,runtimes.QTY,runtimes.
DATE_RUN,runtimes.LINE,runtimes.PN,runtimes.SIDE
From products Inner Join runtimes ON runtimes.PN = products.PART_NO)");

then I do another query that creates a second temporary table ,

can you have more than one temporary table? or does it destroy the old one?



#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 29 June 2006 - 04:46 PM

From looking at [a href=\"http://dev.mysql.com/doc/refman/5.0/en/temporary-table-problems.html\" target=\"_blank\"]Temporay Table lmitations[/a] over at mysql.com it looks you can create multiple temporay tables.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users