If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > create temporary table in linux

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-24-04, 06:10
rageous rageous is offline
Registered User
 
Join Date: Apr 2004
Posts: 9
create temporary table in linux

I have a query that I run on MySQL 4.0 that goes like this:
create temporary table myTemp as (select name, id from myTable) union all (select name, id from myTable1) union all (select name, id from myTable2).
This query runs in Windows (meaning myTemp gets created and I am able to run queries to myTemp)but does not run on Linux (meaning myTemp does not get created).
Is there something additional that I need to do (say, grant additional permissions or something like that???)
Reply With Quote
  #2 (permalink)  
Old 07-24-04, 10:06
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Does your query produce an error message, hang, cause blue smoke to come out of the server, or something different when run in your Linux environment? The fact that the query does run under Windoze is significant, since that means that the query is syntactically correct and will run under some version of MySQL.

There are lots of ways that your query can "not run", each way with significantly different causes/solutions!

-PatP
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On