Hi,
I was wondering if anyone out there can help me!
Currently, when I want to pull data from my Oracle database, I use Microsoft Query.
I click on Data -> From Other sources -> From Microsoft Query. I choose my data source (Microsoft ODBC for Oracle Connect) and then enter they SQL query using the Microsoft Query editor. This pulls the required data into my spreadsheet.
Can anyone help me recreate this using VBA? I know it's possible, but just can't seem to find how to do it by googling!
My connections string is: DSN=CATL1;UID=CATL1_user;PWD=abc123;SERVER=LIVE01;
A simple sample query that I would use is:
select fname, lname, sum(total_spend) from user_spend
where spend_month <= 3
and account_num in ('TL234', 'TL245', 'TL567')
Any help would be greatly appreciated.
If you need anymore information, please let me know.
Thanks,
Eoin
I was wondering if anyone out there can help me!
Currently, when I want to pull data from my Oracle database, I use Microsoft Query.
I click on Data -> From Other sources -> From Microsoft Query. I choose my data source (Microsoft ODBC for Oracle Connect) and then enter they SQL query using the Microsoft Query editor. This pulls the required data into my spreadsheet.
Can anyone help me recreate this using VBA? I know it's possible, but just can't seem to find how to do it by googling!
My connections string is: DSN=CATL1;UID=CATL1_user;PWD=abc123;SERVER=LIVE01;
A simple sample query that I would use is:
select fname, lname, sum(total_spend) from user_spend
where spend_month <= 3
and account_num in ('TL234', 'TL245', 'TL567')
Any help would be greatly appreciated.
If you need anymore information, please let me know.
Thanks,
Eoin