need help to optimisation .
And ISnULl(Org.CustomernKey,-99=ISNUll(ISNULL(Stg.CustomernKey,Org.CustomerNKey ),-99)
this setion of query running vary slow due to isnull may be.
this setion of query running vary slow due to isnull may be.
and this is defind in where cluse .
data passing from stagind table to main but when this condition is check it getting slow .
so help me out replace of isnull or any alternative

Catcher WongRank #286 · 8.8K reputationPosted Aug 19, 2017, 4:33 AM EDT
Midhun TpRank #388 · 6.5K reputationPosted Aug 20, 2017, 8:45 PM EDT