MySQL Forums
Forum List  »  Quality Assurance

Re: Regarding Error code : 1406 : Data Truncation : Data too long for column
Posted by: Vivek Kumar Sharma
Date: October 21, 2020 12:00AM

again encountered same issue and found one work around,

since we are getting error if that long string fall between the range and work fine if this is first row.

so let's make this first row intentionally.

e.g. order by length(<col1>) desc;

this will solve the issue.

Options: ReplyQuote

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.