# Views in T-SQL

A view is a saved query with a name. Query it like a table, and the long join inside is written once. Create it with CREATE OR ALTER VIEW, in a batch of its own.

![Cheat sheet: Views in T-SQL](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/0c8341e2c34d4cc1866d0e32f90280a3.webp)

- Category: SQL
- Level: Journeyman
- Tags: CREATE OR ALTER, CREATE VIEW, GO Batch Separator, sql, t-sql, View (database)
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/views-in-t-sql-cheat-sheet
