I’m learning ODBC, and my application needs to use multiple connections concurrently. Should I be allocating a single environment, and then multiple connections from this?
Or an environment for each connection?
Many thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not sure there is anything to be gained from creating multiple environments unless you are going to change something at the environment level e.g., call SQLSetEnvAttr with different arguments on each environment handle.