Hi all,
I have two tables using simple inner join. For example,
SELECT SUM(ACTUAL_AM) FROM SALES_SUMMARY SS, CALENDAR_TABLE CT WHERE SS.MONTH_KEY = CT.CALENDAR_KEY AND CT.YEARMONTH = 200612
I have an index on the sales_summary table on the month_key column. However, when i see the explain plan it seem to be going for a full table scan on the sales_summary table. How can I avoid this fts? It doesnt work even if I add the index as an hint.
Pl. help.
Arvind.
I have two tables using simple inner join. For example,
SELECT SUM(ACTUAL_AM) FROM SALES_SUMMARY SS, CALENDAR_TABLE CT WHERE SS.MONTH_KEY = CT.CALENDAR_KEY AND CT.YEARMONTH = 200612
I have an index on the sales_summary table on the month_key column. However, when i see the explain plan it seem to be going for a full table scan on the sales_summary table. How can I avoid this fts? It doesnt work even if I add the index as an hint.
Pl. help.
Arvind.