S
Sebastian
Dear members,
I'am thinking about the "best" way to connect to my sql-server via
ADO.Net (if there is a best way).
My application uses the sql-server very intensively. At the moment
every database-operation opens a connection, executes and then closes
the connection.
Another way would be to use only a single connection to the database,
which is opened when the application starts.
What do you think is the better way to get a high performing sql
server: using one single application connection vs. using one
connection for every operation?
Cheers, Sebastian
I'am thinking about the "best" way to connect to my sql-server via
ADO.Net (if there is a best way).
My application uses the sql-server very intensively. At the moment
every database-operation opens a connection, executes and then closes
the connection.
Another way would be to use only a single connection to the database,
which is opened when the application starts.
What do you think is the better way to get a high performing sql
server: using one single application connection vs. using one
connection for every operation?
Cheers, Sebastian