To close or not to close connection in database
I work with Windows-Mobile and Windows-CE using SqlCE and I dont know what better to do. To open connection when the program open, run any query's... update...delete database and close the connection after the program close? Or open connection run any query's..update...delete database and close the connection immediately? Nice. The answers are all over the place. Here's what I know from experience and interacting with the SQL Compact team: Closing the connection flushes the changes you've made, otherwise the engine waits for the flush period before doing it. It's a good idea to close the