Ok, I see your point. I think you can use some of the code samples in the BOB Downloads area, especially this tool:
https://bobj-board.org/t/141886
But the other tools can be useful as well.
Regards,
Csisz
DBArchitect (BOB member since 2009-06-23)