Firstly, I thought that it can’t be complicated task. But Oracle surprised me again, so I looked for some solution. The post, which I found, describes how to do that in very clever way. And now, everything is simpler 😉
Additionally thing, if someone wants to refresh PL/SQL knowledge – go to the link.