I am trying to test out three variations of a query that is ran from an Excel data connection.
I have three individual data connections and three individual tabs that get the data from each connection respectively.
The connection string is identical for each query, only the command text (Oracle SQL) is different.
Is there a way in Excel to view the execution times for each query?
I am specifically using version Excel 2016 MSO 16.0.4456.1003 64bit
Something like this perhaps (assumes all connections place their results in a worksheet table, not in a pivottable):
To run this:
If you want the code to write to a cell, use this version: