Re: index cannot be used when passing 'int' to 'varchar'
Rick,
suppose mysql make that convert when passing 'int' to 'varchar' index lead to the unacceptable time cost.
what mysql will do when passing 'varchar' to 'int' index?
In the secend situation if mysql also make some convert and scan the entire index, It must be take very long time. but in the fact it's very quickly. Just like passing 'int' to 'int' index. I'm confused.
Subject
Views
Written By
Posted
3152
June 10, 2012 11:16PM
1399
June 11, 2012 11:27PM
1358
June 12, 2012 12:48AM
1420
June 12, 2012 09:23PM
Re: index cannot be used when passing 'int' to 'varchar'
1604
June 12, 2012 11:16PM
1348
June 13, 2012 07:15PM
1350
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.