The MASM Forum

General => The Campus => Topic started by: avcaballero on June 13, 2020, 09:04:38 PM

Title: Oracle conn via ODBC
Post by: avcaballero on June 13, 2020, 09:04:38 PM
Hello

Does anyone have any example of connection to an Oracle bbdd via ODBC? DSN/Server/Usu/pss. I already know the example of connection to an mdb but that's not what I'm looking for.

Thank you
Title: Re: Oracle conn via ODBC
Post by: TimoVJL on June 13, 2020, 11:09:14 PM
In what way you want to do that ?
I use SQLDriverConnect()

PS: If you can use  a SQLRelay, things are  just just simpler.
One driver for all connections  :thumbsup:
Title: Re: Oracle conn via ODBC
Post by: avcaballero on June 13, 2020, 11:42:39 PM
I do not care what format to choose, I just want to connect. I am using the Iczelion example. At the moment I have connected to a mdb but not to Oracle, I have tried in several ways without success. That is, at the moment I am in the stage of connecting to the bbdd.
Title: Re: Oracle conn via ODBC
Post by: avcaballero on June 13, 2020, 11:57:45 PM
I think I finally got it, I found the correct connection string  :thumbsup:. Anyway, if you have an example, I'm all ears.  :biggrin:
Title: Re: Oracle conn via ODBC
Post by: mabdelouahab on June 14, 2020, 02:33:10 AM
Oracle connection strings (https://www.connectionstrings.com/oracle/)