Hi Rupesh
Thanks for your suggestion. But when the cursor is declared in a declaration section and not in a package Oracle Database will automatically close it when the block in which it is declared terminates. But it is good idea to close it explicitly which I have tested and as I told from database or Oracle SQL Developer when I test the procedure it gives correct results but when I execute it from Workbench it gives me previous old rows and replaces few columns with old data etc. I think this has to do something with JDBC driver because this is the only thing which is coming between Oracle and MII. I am using Oracle 10g and ojdbc14.jar is deployed.
Thanks and Regards
Khaleel