Hi ,
I have a qry . in that join is taking more time . its showing 10 m in plan.
one of the join column is skewed with one value.
can u pls help me how can we make that join faster.
SELECT
COL1,
COL2,
TRIM(COL3) COL3,
FROM TABLE A
LEFT JOIN
(
SELECT
COL1,
COL2,
CAST(COL3 AS VARCHAR(50)) COL3
FROM TABLE B
) TEST
ON TABLE A.COL3 = TABLE B.COL3
TABLEA.COL3 IS SKEWED
pls help me to solve this.
Thanks,
Suresh.
↧