SQLite Open Close - how often?

Discussion in 'Questions (Windows Mobile)' started by sloopa, Apr 30, 2007.

  1. sloopa

    sloopa Member Licensed User

    What is your opinion -
    Open the database one time and by closing the application close the database too

    or

    every query open and close the database?

    :sign0085:

    sloopa
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Where is your database located (on the device, on a network drive...)?
     
  3. sloopa

    sloopa Member Licensed User

    My database is on the device.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Then you should open it at the beginning and close it at the end.
     
Loading...