MySQL Forums
Forum List  »  MyISAM

Re: Memory Problem with 1 DB. Other DB ok
Posted by: Gabriel Dunn
Date: January 29, 2015 08:49PM

I used the OPENQUERY function. Which Forces "order by" to be performed at MySQL

OLD Method - Theoretically works, except when it doesn't
-----------
select id
into #temp_MySQL_ID
from MYSQL_WEB_PROD...wp_users


NEW Method. Forces "order by" to be performed at MySQL
-------------------------------------------------------
SELECT *
into #temp_MySQL_ID
FROM OPENQUERY(MYSQL_WEB_PROD, 'SELECT id FROM wp_users order by id')

Options: ReplyQuote


Subject
Views
Written By
Posted
3599
January 22, 2015 11:15PM
Re: Memory Problem with 1 DB. Other DB ok
1992
January 29, 2015 08:49PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.