Hi,
I've a Moodle instance with MySQL. I'm writing a small tool to connect to an Oracle database and fetch data from some tables- basically some reports. How can I use Moodle's excellent database functions (like get_records, get_records_select) in my code? Which all files need to be included? How to create another connection to Oracle (as my original config.php connection is to MySQL).