Add the DB_DENYWRITE flag if no one else will be writing

If you are the only user making changes to data, then you can use the DB_DENYWRITE flag to lock an entire table or database while you make changes. Others will still be able to read the data, but no one except you will be able to write to it. Because there will be less locks being placed to avoid updates colliding, your updates will happen faster.