found it in some old folder, this must be the pl sql that i wrote back in those days. i am not sure, but nothing else exists !!