Skip to Content
May 10, 2016 at 09:28 AM

Connecting to SQL Anywhere DB without DSN


Hello, all

I need to connect to multiple SQL Anywhere databases without creating DSN for all of them. The client is Win32 PB Classic.

THe application is connected to the main DB, which contains a table with connection parameters to the other DBs. THe connectino parameters include server, dbn and host. This is not enough to connect to SQL anywhere DB. I assume I either need a DSN name or the driver name.

Now, if creating the DSN is not possible, how can I locate the driver of the connecition the application is currently using. I could not find it in the connection_property function or the connection info or anywhere else.

Can anyone help?

Thank you