About 3,180,000 results
Open links in new tab
  1. CREATE VIEW (Transact-SQL) - SQL Server | Microsoft Learn

    Apr 9, 2025 · Creates a virtual table whose contents (columns and rows) are defined by a query. Use this statement to create a view of the data in one or more tables in the database. For …

  2. Create views - SQL Server | Microsoft Learn

    Create views in the Database Engine with SQL Server Management Studio or Transact-SQL.

  3. Create Indexed Views - SQL Server | Microsoft Learn

    Jan 14, 2025 · Create the view by using the WITH SCHEMABINDING option. Create the unique clustered index on the view. When you execute UPDATE, DELETE or INSERT operations …

  4. Views - SQL Server | Microsoft Learn

    Nov 22, 2024 · Views are generally used to focus, simplify, and customize the perception each user has of the database. Views can be used as security mechanisms by letting users access …

  5. Get information about a view - SQL Server | Microsoft Learn

    Dec 17, 2024 · You can gain information about a view's definition or properties in SQL Server by using SQL Server Management Studio or Transact-SQL. You might need to see the definition …

  6. CREATE INDEX (Transact-SQL) - SQL Server | Microsoft Learn

    Applies to: SQL Server 2022 (16.x) and later versions, Azure SQL Database, and Azure SQL Managed Instance. The following example creates an index on a nonpartitioned table by using …

  7. WITH common_table_expression (Transact-SQL) - SQL Server

    Nov 22, 2024 · Specifies a temporary named result set, known as a common table expression (CTE). This is derived from a simple query and defined within the execution scope of a single …

  8. CREATE MATERIALIZED VIEW AS SELECT (Transact-SQL)

    Mar 20, 2023 · This article explains the CREATE MATERIALIZED VIEW AS SELECT T-SQL statement in Azure Synapse Analytics for developing solutions. The article also provides code …

  9. Modify views - SQL Server | Microsoft Learn

    May 10, 2023 · After you define a view, you can modify its definition in the SQL Server Database Engine without dropping and re-creating the view by using SQL Server Management Studio or …

  10. Create a database - SQL Server | Microsoft Learn

    Jul 22, 2024 · This article describes how to create a database in SQL Server by using SQL Server Management Studio or Transact-SQL. To create a database in Azure SQL Database using T …

Refresh