Lexor: Bump, still waiting for opinions / advice.
If you don't mind getting your hands dirty with a little scripting, try Python.
While it is often used with web applications, it is a general purpose scripting language that can be used for all types of system tasks and it's a lot more hands on and user-friendly than lower level compiler languages like C++ or even Java.
There are many Python modules to interface with various DBs out there, but if you want a complete packaged solution with minimal fuss, try Web2py's DAL API (
http://web2py.com/books/default/chapter/29/6).
While it favors using their interface for SQL queries, it allows you to execute raw SQL as well (so that you use their API for the lower-level details of the database connection and little else).
It is packaged with the web2py web framework, but my understanding is that it's pretty easy to use their libraries (like DAL) without using the entire Framework (though you can run the Framework by itself without any other installations and it does include an admin interface that allows you to do database administration, but it is a web interface, albeit a very user-friendly one).
EDIT:
Here you go:
http://web2py.com/book/default/chapter/04#Libraries Ah, and you do need the Python interpreter (version 2.7) obviously, but it comes shipped with most Linux distros and can be installed on Windows easily.