Have a question regarding index usage
Example of the scenario :
Table A
Column AA Varchar(15) ----> indexed
Column AB decimal(15,2)
Table B
Column BA Char(5)----> indexed
Column BB Decimal (10,2)----> indexed
Will the following join use the index ?
where condition : Column AA = Column BA
and Column AB = Column BB
or will it ignore becuase one is a varchar and the other is a char ?
Also one is a decimal(15,2) and another (10,2) ?
Thanks in advance.
Example of the scenario :
Table A
Column AA Varchar(15) ----> indexed
Column AB decimal(15,2)
Table B
Column BA Char(5)----> indexed
Column BB Decimal (10,2)----> indexed
Will the following join use the index ?
where condition : Column AA = Column BA
and Column AB = Column BB
or will it ignore becuase one is a varchar and the other is a char ?
Also one is a decimal(15,2) and another (10,2) ?
Thanks in advance.