Hi all,
Just a question regarding connections to a SQL database. I've always been told to open a connection, do what you have to do and then close the connection.
However, a colleague of mine recently went on a course for VB and when she explained that we will be having a large number of users (200) he said both ways (i.e. opening and closing or opening for the duration of the time they are in the application and then closing) will both have their drawbacks.
I was just wondering if any of you have large numbers of users and what practice have you used and is it okay?
Any info will be of help
cheers
Sandra
Just a question regarding connections to a SQL database. I've always been told to open a connection, do what you have to do and then close the connection.
However, a colleague of mine recently went on a course for VB and when she explained that we will be having a large number of users (200) he said both ways (i.e. opening and closing or opening for the duration of the time they are in the application and then closing) will both have their drawbacks.
I was just wondering if any of you have large numbers of users and what practice have you used and is it okay?
Any info will be of help
cheers
Sandra