I have an old piece of code (I put together a few years ago with my sql knowledge at the time) thats being ran manually in TOAD then exported to Excel for onwards system use