Check out these screen shots of PD/DBL in action.
Just to emphasise: This is a gallery of actual code running on a real database. The query tool in most of the gallery is Eclipse with the SQL Express plug-in. Any fully JDBC compatible query tool should work as well. And of course, you can work from the command-line tool if you like.
Although these examples are short and simple, PD/DBL can execute scripts that are hundreds of lines long and have dozens of user-defined functions, open multiple JDBC cursors, and use high-level programming constructs (some of which are shown to the right).
NOTE: Click on the images for a larger view or to bring up the "Prev/Next" buttons.