• Looking at the code would give a much better idea about what's happening . Hence please share the query here. Most of the times the real culprit turns out to be badly written code.