Hello everyone,
Suppose that a program that will be accessing a database
quite often. What are the advantages/disadvantages of:
1. Opening the connection at the beginning of the program & closing it when you exit the program
as compared to
2. opening/closing the connection as needed?
--Kevin
Suppose that a program that will be accessing a database
quite often. What are the advantages/disadvantages of:
1. Opening the connection at the beginning of the program & closing it when you exit the program
as compared to
2. opening/closing the connection as needed?
--Kevin