I vaguely remember reading somewhere (in MSDN ODBC documentation?) that one application cannot make more than one connection to a single data source. It seemed to me that I need one connection that all the threads of the application will have to share.
I was trying to look this information up, but I can’t seem to find it anymore. Does anyone know/remember how this works?
It all might become a problem in our app, since some of its threads will dynamically connect to data sources of their choice. I don’t want to see random connection errors if two of them will connect at the same time to one source, so I wanted to double check this info.
I vaguely remember reading somewhere (in MSDN ODBC documentation?) that one application cannot make
Share
Maybe the statement you are referring to in the MSDN documentation, is the one that says only one statement can be active on a single connection. It says:
Multiple connections are fine. Multiple statements per connection, not so fine.