Xoriant Interview Question

Why we go for refcursor?