MySQL Forums
Forum List  »  Oracle

Re: how to translate this to mysql
Posted by: bomb_zj none
Date: October 20, 2006 10:21PM

thank you very much!!


ps. is this one better?

create temporary table tmp_rownum (rownum int AUTO_INCREMENT, id int, index using hash(rownum), index using hash(id))engine=memory select id from xxx where xxx order by xxx

since id and rownum are both unique

Options: ReplyQuote


Subject
Views
Written By
Posted
3751
October 20, 2006 01:17AM
2359
October 20, 2006 01:51AM
2305
October 20, 2006 08:33AM
Re: how to translate this to mysql
2180
October 20, 2006 10:21PM
2127
October 20, 2006 11:59PM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.