Oracle Database Connection

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Sanskey
Newbie
Posts: 6
Joined: Mon May 11, 2015 11:45 am

Oracle Database Connection

Post by Sanskey » Mon May 11, 2015 1:39 pm

Hello everybody!

I’m currently struggling with the Oracle database connection. I tried millions of combinations without any success. I’ve checked in the Control Panel -> Administrative Tools->Data Sources (ODBC)->The driver seems to be in place (showing Oracle in XE). From there I’ve also made a successful test connection to the database.

My whole script is currently:
Let>str=Driver={Oracle in XE};dbq=localhost:1521/XE;Uid=USER;Pwd=PASSWORD;
DBConnect>str,dbH
DBQuery>dbH,SELECT * FROM TABLE,rset,NumRecs,NumFields,0

According to connectionstrings.com I tried also

Driver=(Oracle in XEClient);dbq=localhost:1521/XE;Uid=USER;Pwd=PASSWORD;

I always end up with the info not having a valid connection.

Any idea how to get this done?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Oracle Database Connection

Post by Marcus Tettmar » Tue May 12, 2015 9:28 am

Before we try anything else can we confirm the following: Have you installed the 32 bit ODBC drivers? Macro Scheduler is 32 bit so you'd need the 32 bit version of the ODBC driver.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Sanskey
Newbie
Posts: 6
Joined: Mon May 11, 2015 11:45 am

Re: Oracle Database Connection

Post by Sanskey » Tue May 12, 2015 1:58 pm

Hi Marcus,

I assume it is 32 Bit, because the Driver is called SQORA32.dll

Sandro

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Oracle Database Connection

Post by Marcus Tettmar » Mon May 18, 2015 2:21 pm

I believe both the 64 bit and 32 bit versions are called SQORA32.dll. It would be best to specifically download and install the 32 bit version to be sure.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts