Ok, here it is

I need define a cursor having select statement with dynamic where clause.

Please let me know if the query is not clear.

I belive what I am asking is not the Rocket Science.

I need to construct SELECT STATEMENT on the FLY and process the same in CURSOR.

I need something like the code below
*************** *************** *************** ***** *************** *********...