Hi Krishna.
I was able to see the query which is getting generated as I was putting the query in 'returnmessage'.
But I want to execute this query and see the output of this query as the result of the successful execution of the procedure.
Regards,
Andila