What Is Azure SQL Database? Who Runs What, From Booking to Restore

Azure SQL Database is a managed relational database built on Microsoft’s SQL database engine. You connect an application, define tables and use SQL to read or change them. Microsoft handles the underlying operating system, engine patching, built-in availability and automated backups. Your team still owns the rules that decide which data is valid and what happens when a customer presses “Book” twice.
Table of Contents
One seat, two customers
Suppose two people select seat B12 for the same performance. Both screens can truthfully display “available” before either person checks out. Checking availability in the browser cannot guarantee that only one booking succeeds.
A database design can give the current reservations table a unique constraint on (performance_id, seat_id). A transaction inserts the reservation and its associated booking details together. When two inserts compete, one can succeed and the other must be handled as an unavailable seat. If cancellations must remain visible in the customer’s history, keep that history separately or design the uniqueness rule around active reservations. A blanket uniqueness rule across all historical rows would also prevent a legitimate resale.
The transaction protects changes inside its boundary. An external card processor does not automatically roll back a payment because a database insert failed. Design the payment and reservation workflow to reconcile those outcomes, and use a stable booking reference for retries.
A three-row check for the booking rule
We checked the proposed two-column uniqueness rule in a local SQLite database. Booking B12 for performance 7 succeeded. A second B12 for performance 7 failed. B12 for performance 8 succeeded. A unique constraint on seat alone would have rejected that third, legitimate booking. The check demonstrates which columns belong in the rule. An Azure SQL pilot should separately exercise concurrent sessions, isolation, error handling and the payment retry.
What Microsoft manages and what the team must test
| Question | Who owns the outcome? | What to verify |
|---|---|---|
| Is the engine patched? | Microsoft operates the managed platform. | The client handles a transient reconnect without duplicating a booking. |
| Can support see payment or customer records? | Your team grants database and application permissions. | A support identity can perform its job with only the necessary access. |
| Will a popular show overload the database? | Your team chooses capacity, queries and indexes. | Run the booking and seat-map workload together at the expected peak. |
| Can yesterday’s mistaken change be repaired? | Azure runs backups. Your team chooses retention and recovery procedure. | Restore to a separate database and validate the affected records. |
A single database or an elastic pool?
A single database is a straightforward starting point for one booking application. A logical SQL server groups databases and provides an administrative endpoint. It does not give you a Windows machine to sign into. If a software vendor gives each venue a separate database, an elastic pool lets those databases share a capacity budget while remaining separate databases.
Look at when each venue opens ticket sales. Ten venues peaking at different times make a stronger pooling case than ten simultaneous festival launches. Compare the combined time series, including the same busy five-minute intervals. Adding each venue’s independent maximum can overstate demand. Averaging a whole month can hide the launch that actually matters.
What a restore really gives you
At 10:05 a staff member updates the wrong performance. Sales continue until 10:20. Within the configured retention window, a point-in-time restore can create a new database as of just before the error. It does not rewind the live database in place. Compare the restored and current rows, identify legitimate sales after 10:05 and decide how to repair the production records. A wholesale cutover to the restored copy would discard those later sales unless you reconcile them.
For a new relational application, the first acceptance test is the business rule that must survive concurrency and recovery. For an existing SQL Server estate, start with the instance features the application and its operators depend on.
For the wider platform context, see the P5M guide to Microsoft Azure.
Sources and further reading
Recent articles
Our editorial approach
Clear explanations, practical guidance and responsible research.





