EC-Council
312-92 · Question #43
Peter is writing a program that has a GUI front-end and uses a MS SQL database as a backend. Peter's application will repeatedly update and call upon specific tables in the database on a regular…
The correct answer is A. Explicit lock. See the full explanation below for the reasoning.
Question
Peter is writing a program that has a GUI front-end and uses a MS SQL database as a backend. Peter's application will repeatedly update and call upon specific tables in the database on a regular basis. Peter wants to make sure that his program always has the ability to update the database and that no other calls or updates can touch the database tables used at the same time. How could Peter accomplish this in his application?
Options
- AExplicit lock
- BSET TRANSACTION EXCLUSIVE
- CSET TRANSACTION WRITE
- DImplicit lock
How the community answered
(36 responses)- A81% (29)
- B11% (4)
- C3% (1)
- D6% (2)
Community Discussion
No community discussion yet for this question.