You mentioned that when you run from different user in SQLA, it works fine.
I have 2 questions, do you face the same problem when you run your query with a different user in BO and not in SQLA or with that user it works fine in BO too? And, are you running the exact query in SQLA that BO creates by itself and fires to database or slight different query with the same expected output ? for ex, difference of DISTINCT and GROUP BY, like that.
You mentioned that when you run from different user in SQLA, it works fine.
I have 2 questions, do you face the same problem when you run your query with a different user in BO and not in SQLA or with that user it works fine in BO too? And, are you running the exact query in SQLA that BO creates by itself and fires to database or slight different query with the same expected output ? for ex, difference of DISTINCT and GROUP BY, like that.