I have read a lot about SQL and I am told always to close the connection to the database after you finish. But what happens when you use a try catch and an error oucurs that bypasses the close statement? Since the SQL is enclosed in the try catch you
cannot close the connection. Does the try catch close the connection automaticaly?
If it needs to be closed how would you close it?
CurtisAlways Lost in Code, Always mark answers as correct if they answer you question and solve your problem. This way others when searching for similar problems can find the answer faster.
View Complete Post