Re: index cannot be used when passing 'int' to 'varchar'
> varchar can use the int index but int cannot use the varchar index
The rules for type conversion are rather complex and arbitrary.
If you want to discuss it further, please provide
SHOW CREATE TABLE
EXPLAIN SELECT ...
Subject
Views
Written By
Posted
3147
June 10, 2012 11:16PM
Re: index cannot be used when passing 'int' to 'varchar'
1397
June 11, 2012 11:27PM
1357
June 12, 2012 12:48AM
1416
June 12, 2012 09:23PM
1598
June 12, 2012 11:16PM
1346
June 13, 2012 07:15PM
1345
June 13, 2012 10:35PM
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.