I have an application which uses an Oracle database. We are experiencing random slowness and our DBA group has asked for some statistics to see if there is a pattern. I would like to run a certain query at regular intervals and log the amount of time it took to execute the query.
I'm thinking VBScript, SQLplus and Windows Task Scheduler? I need help getting VBScript to execute a query and then put the answer in a variable; I can handle it from there. I have VBScript code to handle the logging, etc... Can VBScript query the database directly?
Start Free Trial