MySQL Forums
Forum List  »  Newbie

Re: Data ordering issue
Posted by: Peter Brawley
Date: February 16, 2016 01:33PM

> it's importing the data in the wrong order.

Importing imposes no ordering whatever.

> they're listed as 1, 10, 100, 101, etc

Is it a char column? Is that intentional?

> error 1105 Order by ignored as there is a user-defined clustered index in the table

Trying to order physical rows is fruitless. Use Order By in your query to set ordering. If the column is char but you want numeric ordering, Order By colname+0.

Options: ReplyQuote


Subject
Written By
Posted
February 16, 2016 08:37AM
Re: Data ordering issue
February 16, 2016 01:33PM
February 17, 2016 06:15AM


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.