Skip to content
datastudyguides

DP-900 · 2.1.4 · Identify considerations for relational data on Azure

Database objects

Identify common database objects

Besides tables, a database has views (virtual tables from a query), (reusable logic) and (faster lookups).

Views

Microsoft Learn diagram showing a database view built from Order and Customer tables.

A view is a defined by a SELECT query. You query it like a table. Use it to hide a join behind a simple name, or to expose only some columns.

CREATE VIEW Deliveries AS
SELECT o.OrderNo, c.City
FROM Orders AS o
JOIN Customer AS c
  ON o.CustomerID = c.ID;

Stored procedures

A packages statements under a name, so an application can run known logic on command. Parameters, such as a product ID, make the same procedure reusable.

Indexes

Microsoft Learn comparison of a full table scan and a direct lookup through a database index.

Visuals: Microsoft Learn.

An is a sorted structure with pointers back to the rows, like the index of a book. The database jumps to matching rows instead of scanning the whole table.

Every insert, update and delete must also update the index, so unneeded indexes slow writes down. On a small table the optimizer may ignore an index and scan instead.

  • Query a join again and again as if it were a tableView
  • Run the same logic on command, with parameters
  • Find rows faster without scanning the table
Which object fits

Key points

  • View: a defined by a SELECT query
  • Use of a view: hide a join or expose only some columns
  • : logic run on command, often with parameters
  • : a sorted structure with pointers back to the rows
  • Cost: every insert, update and delete must also update the index
  • Small tables: the optimizer may ignore an index and scan instead

Click an underlined term for a one-line explanation, or see them all in the glossary .

Exam trap

An is not free. It speeds up the queries it supports, and it adds work to every write on the indexed column.

Sources · 1 Microsoft Learn page Show ▾

Checked on October 4, 2026. Report a problem

Go deeper on Microsoft Learn

Checked against Microsoft Learn on October 4, 2026. Report a problem with this card

How well do you know this?