Fact-checked by Grok 2 weeks ago

Microsoft SQL Server

Microsoft SQL Server is a management system (RDBMS) developed by , designed to store and retrieve data as requested by other software applications via (T-SQL), a Microsoft-specific implementation of the SQL standard. At its core, SQL Server's handles storage, processing, and security for relational, , spatial, and XML data, while additional services enable advanced analytics, , and reporting. Key components include Integration Services (SSIS) for data extraction, transformation, and loading (ETL); Analysis Services (SSAS) for modeling; Machine Learning Services supporting and scripting; and Reporting Services (SSRS), which in the upcoming SQL Server 2025 (17.x) preview is consolidated under Power BI Report Server. The product traces its origins to 1989, when partnered with Sybase and to develop the initial version as a 16-bit server for , evolving through numerous releases to become a cornerstone of enterprise . Supported versions range from SQL Server 2016 (13.x) onward, with SQL Server 2022 (16.x) as the current major release, offering editions like for high-performance workloads and for departmental use. SQL Server deploys on-premises on Windows and , in containers, or in the cloud via Virtual Machines and for hybrid and multicloud scenarios, with deep integration to services like Synapse Analytics.

Overview

Introduction

Microsoft SQL Server is a management system (RDBMS) developed by since 1989, designed for the storage, retrieval, and management of structured data. It adheres to the SQL standard while extending it through (T-SQL), a procedural extension that enables advanced querying, programming, and administration. As a core component of 's data platform, SQL Server facilitates efficient data handling in diverse environments, from on-premises servers to deployments. The system supports key use cases such as (OLTP) for high-volume transactional workloads, (OLAP) for complex data analysis, and data warehousing for large-scale . It integrates seamlessly with the Microsoft ecosystem, including services for hybrid cloud scenarios and .NET frameworks for application development. At its foundation, SQL Server employs a client-server architecture, where client applications connect to server instances over networks to execute queries and manage data. Licensing follows per-core or server plus Client Access License (CAL) models, offering flexibility for varying deployment scales, with free editions like Developer and Express available for non-production development and small-scale applications. SQL Server holds a prominent position in enterprise , valued for its scalability to handle petabyte-scale workloads, advanced features like Always Encrypted, and tight integration with tools. It powers mission-critical applications across industries, enabling organizations to derive insights from while maintaining high availability and performance.

Key Features

Microsoft SQL Server offers robust scalability features to handle large-scale deployments. It supports databases up to 524,272 terabytes (524 PB) in size, enabling organizations to manage petabyte-scale volumes within a single instance. Always On Availability Groups provide by allowing up to eight secondary replicas, with five supporting synchronous replication for minimal , and facilitate automatic , with replicas distributed across nodes in a Windows Server Cluster supporting up to 64 nodes. SQL Server supports and partitioning to distribute across multiple filegroups within a database, improving query and manageability for very large tables. can be achieved through features like Availability Groups or manual sharding across instances. Performance optimizations in SQL Server focus on accelerating both transactional and analytical workloads. In-Memory OLTP, originally developed under the project name Hekaton, stores tables in memory to eliminate disk I/O bottlenecks, delivering up to 30 times faster for high-throughput scenarios like data ingestion and session management. Columnstore indexes organize data in columnar format for analytics, achieving up to 10 times compression and 2-4 times query speed improvements through batch-mode execution, making them ideal for data warehousing on fact tables. Intelligent Query Processing further enhances efficiency with features like adaptive joins, which dynamically switch between nested loop and algorithms at runtime based on actual data , reducing execution time without manual tuning. Security in SQL Server emphasizes protection at rest, in transit, and during access. (TDE) encrypts entire databases at the file level, safeguarding against unauthorized access to storage media without impacting application performance. (RLS) restricts access at the row level using policies tied to user context or group membership, enabling fine-grained control for multi-tenant applications. Dynamic masking (DDM) obscures sensitive in query results for non-privileged users by applying predefined masking rules, such as partial or , to simplify compliance without altering stored . SQL Server integrates natively with modern data formats and hybrid environments. It provides built-in support for through functions like JSON_VALUE and OPENJSON, allowing efficient storage, querying, and modification of with indexing for performance. XML support includes the XML for storing and querying hierarchical data, with capabilities and schema validation to ensure integrity in document-centric applications. Geospatial data types, such as and , enable storage and analysis of location-based data, supporting operations like distance calculations and spatial indexing for GIS applications. For hybrid cloud connectivity, Arc extends management to on-premises SQL Server instances, enabling unified monitoring, security scanning, and policy enforcement across environments. SQL Server 2025 introduces AI-ready features, including a native vector data type for storing embeddings, T-SQL functions for vector similarity search, and direct integration with Azure OpenAI for generative AI tasks within the database. Unique integrations with Microsoft ecosystem tools enhance SQL Server's utility in enterprise analytics. It connects seamlessly with Power BI for direct querying and visualization, supporting live connections via gateways for on-premises data without importing datasets. Azure Synapse Link provides near-real-time analytics by replicating operational data from SQL Server (2022 and later) to Synapse workspaces, enabling HTAP (hybrid transactional/analytical processing) without ETL overhead. Authentication integrates with Windows Active Directory (now Microsoft Entra ID) for secure, centralized identity management, supporting integrated logins and role-based access across on-premises and cloud resources.

History

Origins and Early Development

In 1988, Microsoft entered into a partnership with Sybase and Ashton-Tate to develop a relational database management system (RDBMS) based on Sybase's SQL Server, initially targeting the OS/2 operating system as a joint product known as Ashton-Tate/Microsoft SQL Server. This collaboration aimed to provide Microsoft with a competitive RDBMS to challenge established players in the database market. The first versions, such as SQL Server 1.0 in 1989, were 16-bit implementations for OS/2, leveraging Sybase's core engine while integrating with Microsoft's ecosystem. By 1993, following the release of , Microsoft launched its first standalone, Microsoft-branded version of SQL Server 4.21, which was a port of the Sybase codebase optimized for the platform. This release marked the product's shift toward Windows-centric deployment, taking advantage of NT's multitasking and security features, though it retained significant Sybase heritage in its query processing and storage mechanisms. The partnership with Sybase began to diverge around this time, as Microsoft acquired a non-exclusive for code in 1993, allowing independent development while Sybase continued its Unix-focused trajectory. In 1995, Microsoft released SQL Server 6.0, a substantial rewrite tailored exclusively for , which introduced key programmability features like stored procedures and triggers to enhance application integration and . This version improved performance over its Sybase-derived predecessors by optimizing for NT's and adding support for distributed transactions, positioning SQL Server as a viable enterprise option within the Windows environment. By 1996, had achieved full ownership and control over its SQL Server codebase, severing remaining ties with Sybase and enabling a dedicated focus on Windows-native innovations. The 1998 release of SQL Server 7.0 represented a pivotal milestone, featuring a complete architectural overhaul that eliminated dependencies on legacy indexed sequential access methods (ISAM) and adopted a more modular, scalable design using C++ for the core engine. It supported databases up to 32 GB in size and introduced OLAP Services for analytical processing, allowing multidimensional data analysis directly within the SQL Server environment. Throughout its early years, SQL Server faced significant challenges in competing with , which dominated on Unix platforms with superior for large-scale deployments. Microsoft's emphasis on tight Windows provided ease of use for users but initially limited adoption in heterogeneous or high-volume Unix environments, where SQL Server's performance and clustering capabilities lagged behind rivals.

Major Version Releases

SQL Server 2000 marked a significant milestone in the product's evolution, with native XML support, allowing users to store, retrieve, and query XML data directly within the database using and XML data type, facilitating web-centric applications. English Query enabled querying, permitting users to pose questions in that the system translated into SQL statements for easier data access. Merge replication was added as a new replication type, supporting offline synchronization for mobile and distributed environments by resolving conflicts during data resubmission. SQL Server 2005 introduced (CLR) integration, enabling the execution of code such as stored procedures, functions, triggers, and user-defined types directly within the database for enhanced programmability and performance in complex computations. Service Broker was launched as a native messaging for building scalable, asynchronous applications with reliable message queuing and conversation management inside the database. Notification Services provided a platform for event-driven notifications, allowing applications to monitor data changes and deliver alerts via , , or other channels based on predefined rules. The release also added support for 64-bit processors and extended memory capacity to 64 GB on 32-bit systems, improving scalability for large-scale deployments. SQL Server 2008 and its update SQL Server 2008 R2 advanced with database mirroring, an early precursor to Always On technologies, enabling automatic for databases across servers. FILESTREAM was introduced to efficiently store and manage unstructured data like files alongside relational data, integrating binary large objects (BLOBs) with for better performance and transactional consistency. The Resource Governor provided workload management by classifying sessions and limiting resource usage, ensuring predictable performance in multi-tenant environments. SQL Server 2012 and 2014 brought columnstore indexes, which compressed data column-wise to accelerate analytical queries by up to 10 times compared to rowstore indexes, ideal for data warehousing. In-memory OLTP (Hekaton) was previewed, allowing tables to reside in memory for lock-free, latch-free transactions that reduced latency for high-throughput OLTP workloads. Always On Availability Groups succeeded , offering flexible clustering with readable secondaries for load balancing. Extended Events replaced SQL Trace for lightweight diagnostics, capturing detailed event data with minimal overhead for . SQL Server 2016 enhanced query optimization and scalability, while SQL Server 2017 added support for , allowing deployment on and for hybrid environments. SQL Server 2019 introduced intelligent query processing, using adaptive techniques like batch mode on rowstore and approximate query processing to automatically improve performance without manual tuning. clusters integrated SQL Server with and HDFS for scalable analytics on Hadoop ecosystems. collation support enabled storage of international data more efficiently, and ledger tables provided tamper-evident auditing for . SQL Server 2022 focused on hybrid and cloud integration with Link, enabling real-time analytics between SQL Server and without ETL processes. Query Store hints allowed developers to override optimizer choices for specific queries, improving control over . Enhanced features, including for blockchain-like auditing, ensured verifiable data history and immutability against tampering. Additionally, SQL Server 2022 integrates with Fabric, enabling unified data analytics across on-premises and cloud environments through features like external tables and data mirroring for real-time synchronization.

Recent Developments and 2025 Preview

As of November 2025, SQL Server 2019 has transitioned out of mainstream support, which ended on February 28, 2025, with extended support continuing until January 8, 2030. SQL Server 2022 remains in mainstream support until January 11, 2028, followed by extended support through January 11, 2033. Microsoft encourages organizations running older versions to migrate to Azure SQL Database or Managed Instance for seamless access to ongoing security updates, performance enhancements, and cloud-native scalability without on-premises hardware constraints. Post-release updates for SQL Server 2022 have focused on advancing intelligent query processing. Additionally, SQL Server 2022 integrates with Fabric, enabling unified data analytics across on-premises and cloud environments through features like external tables and data mirroring for real-time synchronization. SQL Server 2025 (version 17.x), announced in public preview on May 19, 2025, builds on these foundations with native enhancements for and deployments. Key additions include built-in data types optimized for applications, supporting efficient storage, indexing, and similarity searches using algorithms like approximate nearest neighbors (ANN). The release emphasizes a unified and feature parity between on-premises, SQL, and edge environments, reducing migration friction. Improved integration with Fabric allows for multi-database querying via database mirroring, enabling seamless data movement to OneLake for advanced analytics without replication overhead. Looking ahead, SQL Server's future directions prioritize hybrid cloud capabilities through Azure Arc, which extends management, monitoring, and security to on-premises SQL Server instances for consistent governance across environments. is also advancing initiatives, such as query optimizations that reduce computational overhead and in data centers, aligning with broader corporate goals for carbon efficiency. The SQL Server ecosystem continues to grow, with adoption reaching approximately 25% of monitored instances for the 2022 version as of late 2025, reflecting strong enterprise uptake for mission-critical workloads. Over 100,000 enterprises rely on SQL Server for relational data management, bolstered by updated certifications like the Microsoft Certified: Azure Database Administrator Associate, now incorporating SQL Server 2025-specific AI and hybrid skills. In response to cloud-native alternatives like , Microsoft has enhanced SQL Server's developer tools and open compatibility features to maintain competitiveness in polyglot environments.

Editions

Current Mainstream Editions

Microsoft SQL Server offers several mainstream editions designed for production environments, catering to varying scales of deployment from small applications to enterprise-level systems. These editions share core capabilities but differ in feature sets, resource limits, and licensing models to align with different organizational needs.

Express Edition

The Express Edition is a free, entry-level version intended for lightweight applications, development, and small-scale production use. It includes essential features such as the Database Engine, full-text search, and basic integration with SQL Server Management Studio (SSMS) for management. It supports in-memory OLTP and columnstore indexing, limited by the edition's memory constraints. Key limitations include a maximum database size of 10 GB per database, support for up to 4 cores (or 1 socket), and 1410 MB of RAM for the buffer pool. This edition does not include advanced tools like SQL Server Agent for job scheduling. It supports basic high availability via log shipping and database mirroring (witness only).

Standard Edition

Standard Edition serves as a mid-tier option suitable for departmental and small-to-medium business workloads, providing robust data management, , and basic features. It supports up to 128 GB of for the buffer pool, a maximum of 24 cores (or 4 sockets), and includes capabilities like Always On Basic Availability Groups and log shipping for failover clustering. It includes limited in-memory OLTP (up to 32 GB memory-optimized data) and columnstore indexing (32 GB segment cache). Database size is limited to 524 PB, aligning with modern needs. This edition balances cost and functionality for non-mission-critical environments.

Enterprise Edition

Enterprise Edition is the flagship offering for mission-critical, high-volume workloads, delivering comprehensive features for , , and optimization. It includes advanced through Always On Availability Groups, columnstore indexing for analytics, big data clusters integration, and in-memory OLTP for real-time processing, with no imposed limits on cores or RAM beyond the operating system's capacity. This edition supports unlimited and is optimized for data warehousing and AI-driven applications in SQL Server 2025. Database size reaches up to 524 PB, enabling handling of massive datasets.

Web Edition

Web Edition targets hosting providers and web application scenarios, offering features akin to Standard Edition but with optimizations for integration with (IIS) and lower resource demands. It supports up to 64 GB of RAM, 16 cores (or 4 sockets), log shipping, and basic columnstore indexing (16 GB segment cache), but excludes advanced and . It supports limited in-memory OLTP (up to 16 GB). In 2025, this edition remains available primarily through Virtual Machines for cloud-hosted web workloads. Database size is capped at 524 PB. Licensing for mainstream editions varies by type: Express is free with no additional costs or CALs required, while Standard and Enterprise use core-based licensing in 2-core packs, with options for Server + CAL models in Standard for certain scenarios. Web Edition is licensed exclusively through the Services Provider License Agreement (SPLA). All editions benefit from Azure Hybrid Benefit, allowing on-premises licenses to reduce costs in Azure deployments, and volume licensing programs provide flexibility for enterprises.
EditionMax Database SizeMax RAM (Buffer Pool)Max Cores/SocketsKey High Availability FeaturesLicensing Model
Express10 GB1410 MB4 / 1Log shipping, Database mirroring (witness only)Free
Standard524 PB128 GB24 / 4Basic Availability Groups, Log ShippingPer-core or Server +
Enterprise524 PBOS MaxOS MaxAlways On Availability GroupsPer-core
Web524 PB64 GB16 / 4Log ShippingSPLA only

Developer and Specialized Editions

The Developer Edition of Microsoft SQL Server is a offering designed exclusively for , testing, and demonstration purposes, providing developers with to core database functionalities without production licensing restrictions. It includes all the features available in the Edition but is explicitly prohibited from use in production environments, making it ideal for building applications, prototyping, and internal evaluations. This edition supports unlimited database sizes and is commonly utilized by independent developers, small teams, and to experiment with SQL Server capabilities in non-commercial scenarios. In SQL Server 2025, introduced a distinction within the Developer Edition lineup to better align testing with production tiers: the Developer Edition retains full to advanced features such as intelligent query processing and options, while the new Developer Edition limits functionality to Edition capabilities, including up to 128 GB of and 24 CPU cores. This split enables more precise replication of tiered environments during , reducing discrepancies between test and live deployments, and supports broader adoption in continuous integration/continuous deployment () pipelines where resource constraints mirror production limits. The Developer Edition is particularly beneficial for vendors and organizations testing applications against cost-optimized configurations without needing full entitlements. Complementing the Developer Edition, the Evaluation Edition serves as a time-limited version of the full Edition, allowing users to assess advanced features for up to 180 days before the instance automatically disables. It provides unrestricted access to all functionalities during the trial period, making it suitable for proofs-of-concept, pilot projects, and short-term evaluations of high-scale scenarios like AI-integrated applications. Post-trial, users must upgrade to a licensed edition or reinstall, ensuring compliance with production use cases. For specialized scenarios, has offered editions tailored to embedded or analytics-focused needs, though some have transitioned to or cloud-integrated support. Edition, a file-based, engine, was designed for lightweight applications on mobile devices and desktops, supporting with full SQL Server instances without requiring a separate . However, it has been discontinued, with mainstream support ending in July 2021 and extended support concluding thereafter, leaving it available only for in existing deployments. The Parallel Data Warehouse (PDW) edition, now integrated into the and Synapse Analytics, provides capabilities optimized for large-scale data warehousing and workloads. It enables distributed query execution across hardware or resources, handling petabyte-scale datasets with features like columnstore indexing and external table support for hybrid . As of 2025, PDW services remain operational within APS configurations, focusing on on-premises appliances that can federate with Azure for scalable, high-performance querying. Licensing guidelines for these editions strictly enforce non-production boundaries, prohibiting the use of real or live workloads to avoid issues; instead, they emphasize synthetic datasets in automation, academic training, and vendor demonstrations. In 2025, enhancements include companion free trials for SQL Database, allowing seamless hybrid testing between on-premises Editions and environments for modern application development.

Discontinued Editions

The Workgroup Edition, introduced with SQL Server 2005, was designed as an affordable and easy-to-manage database solution for small to medium-sized organizations, providing core database functionality without advanced services like Analysis Services or Reporting Services. It supported basic features such as merge replication publishing and was limited to 4 GB per database, targeting environments with limited hardware resources like single or dual CPUs and up to 3 GB of memory. This edition was discontinued starting with SQL Server 2008 and replaced by the free Express Edition, which offered similar entry-level capabilities with expanded limits. The Standard x86 Edition, a 32-bit version available through SQL Server 2016, catered to departmental and small-scale deployments but became obsolete as Microsoft shifted focus to 64-bit architectures for better performance and scalability. Support for x86 installations ended after SQL Server 2016, with Microsoft recommending migration to the 64-bit Standard Edition to leverage modern hardware and avoid compatibility issues. The Datacenter Edition, offered in SQL Server 2008 and 2012, was an unlimited RAM variant of the Enterprise Edition, supporting up to 256 logical processors and designed for large-scale, mission-critical data warehousing and consolidation scenarios. It included all Enterprise features plus enhanced scalability for high-volume environments. This edition was retired with SQL Server 2014, with its capabilities fully consolidated into the Enterprise Edition to streamline licensing and reduce redundancy. SQL Server Compact Edition 3.5 and 4.0 provided embedded database functionality for .NET applications, enabling lightweight, file-based storage without a full installation, suitable for and scenarios. Mainstream support for version 3.5 ended on April 9, 2013, while extended support for version 4.0 concluded on July 13, 2021. recommends migrating to alternatives like for open-source embedded needs or Azure SQL for edge computing deployments, as Compact no longer receives updates or security patches. For migrations from these discontinued editions, Microsoft provides tools such as the Data Migration Assistant () to assess compatibility and upgrade schemas, data, and objects to current editions like Express or , ensuring minimal downtime and feature preservation. For SQL Server 2014, mainstream support ended on July 9, 2019, with extended support concluding in 2024, prompting upgrades via to maintain security and performance.

Architecture

Core Components

The Relational Database Engine serves as the primary component of Microsoft SQL Server, responsible for parsing, optimizing, and executing queries to manage data operations. It processes incoming queries by first parsing them into a logical structure, then optimizing them through the query optimizer to generate efficient execution plans based on database statistics and information. The engine subsequently executes these plans, coordinating with other components to retrieve or modify data while ensuring integrity and . Additionally, it incorporates a protocol layer utilizing the (TDS) protocol, which enables communication between client applications and the SQL Server instance by formatting data streams for efficient transfer over networks. SQL Server relies on several system databases to maintain instance configuration and support operational tasks. The master database stores system-level metadata, including information on all databases, logins, and server configurations, functioning as the central repository for the entire instance. The model database acts as a template for creating new user databases, defining default attributes such as file sizes, collation settings, and recovery models that are inherited by newly created databases. The msdb database manages SQL Server Agent components, storing details for scheduled jobs, alerts, and operator notifications to facilitate automated maintenance and monitoring. The tempdb database provides temporary storage for transient objects like temporary tables, table variables, and intermediate query results, with its contents recreated each time the instance starts. Finally, the resource database is a read-only repository containing all system objects, such as stored procedures and views, that appear in the sys schema across every database, ensuring consistency without duplication. The Storage Engine in SQL Server manages physical and retrieval, supporting a approach that combines row-based (rowstore) and column-based (columnstore) to accommodate diverse workloads. Rowstore is optimized for transactional processing with frequent updates and point queries, storing data in rows for efficient access to related columns, while columnstore excels in analytical scenarios by compressing and scanning large datasets column-wise for faster aggregations and reduced I/O. This model allows tables to use either format via indexes, enabling SQL Server to handle both OLTP and OLAP operations within the same instance. For tempdb specifically, the engine employs specialized mechanisms to handle temporary data efficiently, including spill-to-tempdb operations during query execution when memory limits are reached. Metadata management in SQL Server is facilitated through catalog views and dynamic management views (DMVs), providing structured access to system information for administrative and diagnostic purposes. Catalog views, such as those in the sys schema (e.g., sys.tables, sys.columns), offer a , forward-compatible to query persistent about databases, objects, and configurations, replacing older system tables for better reliability. DMVs, prefixed with sys.dm_ (e.g., sys.dm_exec_sessions, sys.dm_os_performance_counters), deliver , dynamic insights into , including query , usage, and locking details, aiding in and optimization without requiring restarts. These views enable and , with permissions typically requiring VIEW SERVER STATE or higher for comprehensive access. SQL Server's instance architecture supports flexibility in deployment, allowing a single server to host one default instance or multiple named instances, each running as an independent service (sqlservr.exe). The default instance listens on port 1433 by default and does not require a name in connection strings, whereas named instances use dynamic ports or configurable static ports and must be specified in connections (e.g., servername\instancename). Resources such as memory, CPU threads, and disk space can be shared across instances on the same hardware but are isolated per instance for security and performance, with configurable limits via server options or Resource Governor to prevent contention. This multi-instance model enables consolidation of multiple databases or environments on one physical server while maintaining operational separation.

Data Storage Mechanisms

SQL Server organizes its databases into physical files that store data and transaction logs separately to ensure durability and recoverability. The primary data file, typically with a .mdf extension, contains the startup information for the database and serves as the main repository for user data and database objects such as tables and indexes. Secondary data files, using the .ndf extension, can be added to expand storage capacity and contain additional data or indexes. Transaction log files, identified by the .ldf extension, record all modifications to ensure atomicity and . Databases can be partitioned into filegroups, such as the default PRIMARY filegroup or user-defined ones, which group logical files for placement on specific disk volumes to optimize performance and manage storage. At the lowest level, SQL Server manages data in fixed-size units called pages, each 8 KB in size, which form the basic I/O boundary for reading and writing to disk. Pages are allocated in groups known as extents, consisting of eight contiguous 8 KB pages totaling 64 KB, to reduce fragmentation and improve efficiency. Allocation of these structures is tracked using specialized pages: the Global Allocation Map (GAM) records which extents are allocated, the Shared Global Allocation Map (SGAM) identifies extents with at least one free page for mixed usage, and Index Allocation Maps (IAM) chain the extents belonging to specific objects like tables or indexes. The buffer pool serves as SQL Server's primary memory cache for data pages, loading them from disk as needed to minimize physical I/O operations during query execution. To maintain available space in the buffer pool, the lazy writer process periodically scans for infrequently used or modified (dirty) pages and writes them to disk asynchronously, avoiding the need for constant checkpoints. Checkpoints flush dirty pages to disk at intervals, ensuring that the can be truncated up to the target recovery time objective set for the database, which controls the maximum recovery duration after a failure. SQL Server employs a concurrency model that balances isolation and performance through locking, row versioning, and deadlock prevention mechanisms. Locks are acquired in shared mode for read operations to allow concurrent access or in exclusive mode for writes to prevent conflicts, with granularities ranging from row to level. For higher concurrency without blocking readers, uses row versioning to maintain a consistent view of data as of the transaction's start, storing versions in the tempdb database. Deadlocks, where transactions cyclically wait for each other's locks, are detected by analyzing the and resolved by automatically rolling back one victim transaction with minimal cost. Latch-free structures, such as those in memory-optimized s, further enhance scalability by avoiding traditional latches in favor of . Indexes in SQL Server provide efficient access by organizing rows in structured formats, with the clustered serving as the default storage mechanism for tables. A clustered rearranges the actual rows on disk according to the index values using a structure, allowing only one per table as it defines the physical order. Nonclustered indexes maintain a separate of values pointing to the rows, enabling multiple per table or without altering the underlying storage. Filtered indexes apply a WHERE to index only a subset of rows, reducing storage and improving performance for selective queries. Tables without a clustered are stored as , where rows are unmanaged in terms of order, relying on nonclustered indexes for access.

Query Processing and Execution

SQL Server's query processing begins with the parsing and algebrizer phases, which prepare Transact-SQL (T-SQL) statements for optimization. The parser scans the input query, breaking it into logical units such as keywords, expressions, operators, and identifiers, while performing syntax checking to ensure compliance with SQL grammar rules. It then constructs a parse tree representing the query's structure. The algebrizer takes this parse tree and converts it into a relational algebra representation, resolving object names to database schema definitions, validating object existence, permissions, and data types, and performing semantic analysis. This bound tree, or algebrizer tree, serves as input to the query optimizer, ensuring the query is both syntactically and semantically valid. The query optimizer employs cost-based optimization to generate efficient execution plans. It evaluates thousands of potential plans, estimating costs in terms of computing resources like CPU, I/O, and , and selects the one with the lowest estimated . Central to this process is estimation, which predicts the number of rows processed at each plan step using statistics on data distribution, , and selectivity from column histograms and . These statistics, automatically maintained or manually updated, help the optimizer choose methods such as scans or seeks, join strategies (e.g., hash or merge joins), and aggregation operators. Adaptive query processing features, like batch mode on rowstore introduced in SQL Server 2019, enable vector-based execution on traditional rowstore tables to leverage modern hardware for improved performance in analytical workloads. Once generated, the execution plan is handed to the execution engine, which processes data through a series of operators implemented as iterators. These iterators handle operations like scans, joins, and aggregates, pulling and pushing rows as needed. Parallelism is supported via the degree of parallelism (), configurable at the , database, or query level through the MAXDOP setting, allowing multiple threads to execute plan portions simultaneously for resource-intensive queries exceeding the cost threshold for parallelism (default 5). Exchange operators manage data redistribution and flow control in parallel plans. If memory is insufficient for hash joins or sorts, the engine spills intermediate results to tempdb, using worktables for operations like GROUP BY or ORDER BY. To promote efficiency, SQL Server caches execution plans for reuse, reducing compilation overhead. Ad-hoc queries generate plans stored in the SQL Plans cache, initially as lightweight stubs under the "optimize for ad hoc workloads" option to mitigate cache bloat, expanding to full plans on reuse. Prepared plans, created via APIs for parameterized queries, are cached with handles for rapid reuse. Forced parameterization, enabled at the database level with ALTER DATABASE ... PARAMETERIZATION FORCED, converts literals in ad-hoc queries to parameters (e.g., int or varchar(8000)), standardizing plans and preventing recompilations for similar queries, though it excludes cases like variables or certain clauses. The Query Store, introduced in SQL Server 2016, persists plans, runtime statistics, and query text in the database for troubleshooting, allowing analysis of plan changes, forcing of optimal plans, and tuning based on historical performance data. Monitoring query execution aids in by comparing estimated and actual behaviors. Execution plans can be viewed using SHOWPLAN options in (SSMS), such as SET SHOWPLAN_XML for textual or graphical representations without execution, revealing operators, costs, and warnings. The actual execution plan, enabled via SET STATISTICS XML ON, includes runtime metrics like elapsed time, CPU usage, and row counts. Live Query Statistics provide real-time progress, updating every second to show actual rows flowing through operators during execution. Discrepancies between estimated rows (from optimizer statistics) and actual rows often indicate stale statistics or skewed data, guiding updates for better plan accuracy.

Programmability

Transact-SQL Language

Transact-SQL (T-SQL) is Microsoft's proprietary extension to the SQL standard, serving as the primary query and programming language for SQL Server. It extends ANSI SQL with procedural programming capabilities, enabling developers to write scripts that include control-of-flow statements, variables, and error handling within database operations. T-SQL is used to define, manipulate, and query data across SQL Server instances, Azure SQL Database, and related services. Key extensions include control-of-flow constructs such as IF...ELSE for conditional execution, WHILE loops for iteration, and cursors for row-by-row processing of result sets. Error handling is facilitated by the TRY...CATCH block, which allows structured exception management similar to programming languages. These features make T-SQL suitable for complex stored procedures, triggers, and functions that go beyond basic declarative queries. T-SQL supports a wide range of types to handle diverse requirements. Built-in types include exact numerics like int for integers, approximate numerics like float, character strings such as varchar for variable-length text, and date/time types like datetime2 for precise temporal . User-defined types (UDTs) allow customization based on types or classes via CREATE TYPE. Spatial types, geometry for planar and geography for geodetic , enable location-based queries. Temporal tables, introduced in SQL Server 2016, leverage datetime2 periods to automatically track historical changes for point-in-time analysis using FOR SYSTEM_TIME clauses. SQL Server 2025 introduces the vector for storing and manipulating binary vectors used in and applications, supporting operations like similarity searches with cosine or Euclidean distances. Data definition language (DDL) statements in T-SQL manage database schema, with CREATE and ALTER used to define or modify objects like tables, views, and indexes, while DROP removes them. Data manipulation language (DML) statements handle data operations: INSERT adds rows, UPDATE modifies existing data, and DELETE removes rows, all supporting the OUTPUT clause to capture affected rows or values for further processing. The MERGE statement performs upsert operations by conditionally inserting, updating, or deleting based on a source-target match. T-SQL functions enhance query expressiveness. Scalar functions return a value and operate on inputs, such as STRING_AGG for concatenating strings with separators (introduced in SQL Server 2017). Table-valued functions return result sets: inline use a single SELECT for , while multi-statement build tables through multiple operations. functions provide runtime information, including @@ERROR for the of the last and @@ROWCOUNT for the number of affected rows. SQL Server 2025 adds new scalar functions for vector operations, such as VECTOR_DISTANCE for computing distances between vectors, and enhances with comprehensive functions like REGEXP_MATCH and REGEXP_REPLACE. Additionally, JSON aggregation functions JSON_OBJECTAGG and JSON_ARRAYAGG enable efficient construction of objects and arrays from query results. T-SQL complies with core elements of the SQL:2011 standard (ISO/IEC 9075) for foundational syntax, including SELECT, DDL, and DML, as detailed in Microsoft's open specifications. However, it includes proprietary extensions that diverge from other implementations; for instance, unlike PostgreSQL's , T-SQL uses double at-sign (@@) prefixes for system functions, and compared to MySQL's SQL dialect, T-SQL lacks native support for certain procedural elements like DO blocks but offers deeper integration with Windows authentication. For advanced logic beyond native T-SQL, CLR integration allows embedding .NET code in procedures.

CLR Integration

SQL Server's Common Language Runtime (CLR) integration enables the execution of managed code written in .NET Framework languages directly within the database engine, extending programmability beyond native Transact-SQL capabilities. Introduced in SQL Server 2005, this feature hosts the CLR version 4 from the .NET Framework 4.x, allowing developers to create server-side database objects such as stored procedures, triggers, user-defined functions, user-defined types, and user-defined aggregates using languages like C# or Visual Basic .NET. As of 2025, CLR integration remains based on the .NET Framework with no official deprecation announced, though Microsoft has noted potential compatibility issues with future .NET upgrades beyond Framework 4.8, and community discussions highlight ongoing limitations in supporting .NET 5 and later for CLR routines. Assemblies in CLR integration are categorized by permission levels to balance functionality and : SAFE assemblies are restricted to internal computations without access to external resources like files or networks; EXTERNAL_ACCESS assemblies permit such external interactions but require additional signing; and UNSAFE assemblies grant full access, including unmanaged code execution and pointer manipulation, suitable for advanced scenarios but posing higher risks. The original Code Access (CAS) model, which enforced these permissions, has been deprecated since .NET Framework 4.0 and is no longer a reliable boundary; instead, SQL Server 2017 and later enforce clr strict security by default, treating SAFE and EXTERNAL_ACCESS assemblies as UNSAFE unless they are signed with a strong name key or certificate and explicitly trusted via sys.sp_add_trusted_assembly. To deploy an assembly, administrators use the CREATE ASSEMBLY statement with the appropriate permission set, and enabling CLR integration server-wide requires the sp_configure 'clr enabled', 1 command, which demands ALTER SETTINGS permission. Developers can implement stored procedures, scalar- or table-valued functions, triggers, and custom aggregates in C# or VB.NET to handle object-oriented logic that would be cumbersome in Transact-SQL, such as replacing intricate procedural code with reusable classes—for instance, defining a custom aggregation function to compute statistical measures like standard deviation across result sets. These objects leverage the Microsoft.SqlServer.Server namespace for SQL Server-specific interactions, including context connections via SqlContext and data access through SqlPipe for output or SqlConnection marked with Context Connection=true for input queries. Compilation involves referencing SQL Server system assemblies like System.Data and deploying the resulting DLL to the database, often via Visual Studio integration or T-SQL scripts. Performance in CLR integration involves trade-offs compared to native Transact-SQL execution: while CLR excels in compute-intensive tasks due to just-in-time compilation and optimized garbage collection, it incurs overhead from data serialization and marshaling when passing parameters between SQL Server and the CLR—such as converting SQL data types to .NET equivalents, which can impact latency for simple operations but yields net gains for complex ones like string manipulations. Debugging is facilitated through Visual Studio by attaching to the SQL Server process, though it requires enabling CLR debugging and may face limitations in multi-threaded scenarios or when using UNSAFE code. Common use cases for CLR integration include implementing regular expressions for in text data, performing complex mathematical computations that exceed T-SQL's built-in functions, and integrating with external .NET libraries for tasks like image processing or cryptographic operations, all executed server-side to minimize network latency. For example, a CLR user-defined function can invoke the .NET System.Text.RegularExpressions.Regex class to validate or parse strings more efficiently than equivalent T-SQL loops. Note that on Linux-hosted SQL Server instances (since ), EXTERNAL_ACCESS and UNSAFE permissions are not supported, restricting usage to SAFE assemblies.

Client Interfaces and APIs

Microsoft SQL Server provides a range of client interfaces and that enable applications to connect to the , submit queries in or other formats, and retrieve results. These interfaces rely on the () protocol as the foundational communication mechanism, which operates as an application-layer for interactions such as , SQL command execution, and transfer between clients and the . TDS uses a binary format to encode queries, results, and metadata efficiently, supporting features like bulk operations and transaction management. The has evolved through multiple versions, with TDS 8.0 introduced in SQL Server 2022 to enhance and performance, including improved encryption handling and compatibility with modern methods. For native Windows-based applications, the SQL Server Native Client (SNAC) served as a legacy OLE DB and ODBC driver from SQL Server 2005 through 2012, providing direct access to SQL Server features like and . However, SNAC has been deprecated and is no longer shipped with SQL Server 2022 or later s, nor recommended for new development due to its outdated support for modern protocols and security standards. It has been replaced by the Microsoft ODBC Driver for SQL Server (version 17 and later) for ODBC connectivity and the Microsoft Driver for SQL Server for OLE DB access, which offer improved performance, always-encrypted support, and broader platform compatibility. In .NET environments, the primary interface is the .Data.SqlClient library, a data provider that facilitates connections, command execution, and retrieval for SQL Server from .NET Framework and .NET Core applications. This provider supports asynchronous operations, bulk copy operations, and integration with higher-level frameworks like , which uses it as the underlying mechanism to map database schemas to .NET objects without direct SQL management. Microsoft.Data.SqlClient has superseded the older System.Data.SqlClient namespace, incorporating enhancements for cross-platform support and SQL Database compatibility. For cross-platform development, SQL Server offers drivers in other languages, including the , a Type 4 JDBC 4.2-compliant driver that enables applications to connect via standard JDBC APIs, supporting features like connection pooling and always encrypted columns. Similarly, the provide PHP extensions for reading and writing data, compatible with PHP 7.2 through 8.3 and integrating with ODBC for underlying connectivity. For RESTful access, Data API Builder allows developers to expose SQL Server data as OData v4-compatible endpoints, enabling query, filter, and pagination operations without custom development; this tool, updated in 2025, supports both on-premises SQL Server and SQL via configurable connection strings. Key connectivity features across these interfaces include connection pooling to optimize resource usage by reusing persistent connections, reducing overhead in high-throughput scenarios; this is implemented driver-aware in the ODBC driver, separating pools based on context and attributes like settings. Transport-level is enforced via TLS (formerly SSL) with options such as the Encrypt keyword in connection strings, ensuring is protected, while (TDE) handles at-rest protection separately. Multi-subnet failover accelerates recovery in Always On Availability Groups by enabling parallel connections to listener IPs, configurable via the MultiSubnetFailover=True option in supported drivers like .Data.SqlClient and JDBC, minimizing downtime to seconds during failovers.

Business Intelligence Services

Integration Services

SQL Server Integration Services (SSIS) is a platform for building enterprise-level and solutions, enabling the , , and loading (ETL) of from various sources to destinations. It serves as a engine that manages the execution of packages, which are defined in XML format and consist of control flows for task and flows for . SSIS supports graphical tools like SSIS Designer for package creation without extensive coding, alongside programmatic options via its object model. Key components in SSIS include data sources such as Flat File for extracting from text files and for connecting to relational databases like SQL Server. Transformations encompass operations like Lookup for matching data against reference tables and Merge Join for combining sorted datasets from multiple inputs. Destinations allow loading into targets including SQL Server tables or Excel workbooks, while Script Tasks enable custom logic using C# or . Deployment of SSIS packages occurs through the SSISDB , a centralized database that stores projects, parameters, and environments for execution, , and . Execution is handled via stored procedures like catalog.create_execution and catalog.start_execution, with configurable and AES-256 for sensitive . Security uses folder-based permissions, and scalability is enhanced by the Out feature for distributed execution, as well as integration with Data Factory through the SSIS Integration Runtime for cloud-based workloads. In SQL Server 2025, SSIS introduces support for the Microsoft SqlClient Data Provider in the ADO.NET connection manager, improving connectivity options. Breaking changes require rebuilding packages that use certain .NET APIs or SQL Server Management Objects, while deprecations include the legacy Integration Services service, 32-bit mode, and the SqlClient Data Provider connection type. Removed features encompass Change Data Capture (CDC) components by Attunity, the Microsoft Connector for Oracle, and Hadoop-related tasks. Common use cases for SSIS include from diverse sources to SQL Server, through transformations to ensure quality, and ETL processes for populating data warehouses. Historically, it supported real-time streaming via for capturing insert, update, and delete operations, though these components are now removed in favor of alternative Azure-integrated solutions.

Analysis Services

SQL Server Analysis Services (SSAS) is a platform for creating, managing, and querying multidimensional and tabular data models to support (OLAP) and . It enables organizations to perform complex by organizing data into semantic models that facilitate applications, such as slicing, dicing, and drilling down into datasets for insights. SSAS integrates with tools like Excel and Power BI to deliver interactive reporting and analytics, focusing on pre-aggregated data for fast query performance. SSAS operates in two primary modes: multidimensional and tabular. The multidimensional mode uses cubes, dimensions, and measures to represent in a schema-on-write approach, where is pre-processed and stored in MOLAP (Multidimensional OLAP) structures for optimized querying. Dimensions include hierarchies for navigating levels, such as time (year-quarter-month), while measures define numeric values like totals. Key indicators (KPIs) track metrics against targets, and calculated members allow custom computations, such as year-over-year growth, using Multidimensional Expressions (MDX). To handle large datasets, multidimensional models support partitions to divide cubes into manageable segments and aggregations to pre-compute summaries at various levels, enhancing query speed by reducing on-the-fly calculations. In contrast, the tabular mode employs an in-memory columnar called VertiPaq, which compresses data for efficient storage and querying in a schema-on-read model. Tabular models organize data into relational tables with relationships, supporting hierarchies and KPIs similar to multidimensional but with simpler development. Measures and calculated columns are defined using (DAX), a formula language that includes functions like CALCULATE for modifying filter contexts and RELATED for traversing relationships across tables. For example, a DAX measure might compute total sales filtered by region using CALCULATE(SUM(Sales[Amount]), Sales[Region] = "North"). Partitions enable processing subsets of large tables independently, and while tabular models primarily rely on in-memory caching rather than explicit aggregations, they optimize performance through column compression and query folding. MDX queries multidimensional models for complex set-based operations, whereas DAX powers tabular queries and integrates seamlessly with Power BI for visual explorations. Deployment options for SSAS include on-premises installations within SQL Server or cloud-based Analysis Services for scalable, managed instances. Models are developed in using SQL Server Data Tools and deployed as databases to servers, supporting and deployment pipelines. Processing modes load and aggregate data, with options for full processing (rebuilding everything) or incremental updates to minimize ; lazy processing defers aggregation until queried, while eager modes pre-compute for immediate performance. is managed through roles that define permissions on databases, cubes, or tables, with row-level security (RLS) in tabular models using to filter data dynamically based on identity, ensuring granular . SSAS tabular models connect directly to Power BI via live queries, allowing real-time analysis without data duplication. In SQL Server 2025, SSAS introduces enhancements focused on performance and usability, including improved MDX query execution for models with calculation groups and dynamic format strings, parallel processing for DirectQuery modes, and the Horizontal Fusion optimization to consolidate multiple SQL queries into fewer roundtrips. New DAX functions like for and for advanced aggregations expand analytical capabilities, while selection expressions in calculation groups simplify dynamic measure adjustments.

Reporting Services

SQL Server Reporting Services (SSRS) is a server-based platform for creating, managing, and delivering paginated and mobile reports from a variety of sources. It enables organizations to generate interactive reports with precise , suitable for and pixel-perfect . SSRS integrates seamlessly with other SQL Server components and external systems, providing a robust solution for reporting needs. The of SSRS centers on the report server, which serves as the core component for storing and processing reports, data sources, schedules, and subscriptions. Reports are defined using Report Definition Language (RDL), an XML-based schema that specifies the layout, data retrieval, and rendering instructions for paginated reports. The report model interprets the RDL to process data queries, while rendering extensions transform the processed data and layout into device-specific formats such as , PDF, or Excel. This extensible design allows customization through additional extensions for data processing and delivery. SSRS supports diverse report types, including tabular layouts for structured presentation, charts for visualizing trends, and maps for geospatial . Reports can incorporate parameters to enable user-driven filtering, drill-through actions for navigating to detailed subreports, and subreports for embedding nested content. Mobile-optimized reports, created using the .rsmobile format, provide responsive designs viewable on devices via Power BI Report Server. Data sources in SSRS can be embedded within individual reports or shared across multiple reports for reusability, supporting connections to relational databases like SQL Server, multidimensional sources such as SQL Server Analysis Services (SSAS), and external systems including databases. Datasets define the queries that retrieve data from these sources, with credentials managed securely to ensure controlled access. Report delivery in SSRS includes on-demand access through the and automated subscriptions that distribute reports via or to shares. Data-driven subscriptions enable bursting, where reports are personalized and sent to multiple recipients based on query results. Security is enforced through at the folder and item levels, with data-driven roles allowing dynamic permissions tied to report content. In SQL Server 2025, SSRS capabilities are consolidated under Power BI Report Server, serving as the primary on-premises reporting platform with support for both paginated reports and interactive Power BI reports.

Advanced Features

Machine Learning and AI Capabilities

SQL Server Machine Learning Services, introduced in SQL Server 2016 as R Services and expanded to include support in SQL Server 2017, enables the execution of and scripts directly within the to perform advanced analytics on relational data. This feature processes data in place, minimizing data movement and leveraging SQL Server's security and scalability. Scripts are executed using the sp_execute_external_script, which integrates external runtimes with T-SQL queries, allowing users to pass input data from SQL tables to scripts and return results as output datasets. The service includes Microsoft-developed packages like RevoScaleR for and revoscalepy for , which provide scalable functions for data preparation, modeling, and parallel processing across multiple cores without requiring data export. Introduced in SQL Server 2019, the Extensibility Framework extends Services to support additional languages such as and C#, facilitating broader integration of external code while maintaining database isolation. This framework replaces less secure mechanisms like execution by using a managed architecture with the SQL Server Launchpad service, which launches external processes in isolated AppContainers and enforces trusted worker accounts for security. External scripts are disabled by default for governance, requiring explicit enabling via sp_configure 'external scripts enabled', 1 to ensure controlled access and compliance. Common use cases include , such as in time-series data, and tasks like on textual datasets stored in SQL Server. SQL Server 2025 enhances capabilities with native support for data types, enabling storage and manipulation of embeddings for models directly in the database. This includes the VECTOR_SEARCH function for searches using approximate nearest neighbors algorithms, optimized for applications like recommendation systems and content retrieval. Native integration with ONNX models is supported via the PREDICT T-SQL function, allowing deployment of pre-trained models for inference without external dependencies. Additionally, SQL Server 2025 introduces management of external models via endpoints for embedding generation, bridging on-premises data with cloud-based services like Fabric for end-to-end operations. Performance and resource management for ML workloads are handled by the External Resource Governor, which uses dedicated resource pools to limit CPU and memory allocation for external scripts, preventing interference with core database operations. For large-scale processing, RevoScaleR's satellite architecture distributes computations across SQL Server instances or compute contexts, enabling efficient handling of distributed datasets.

Replication and High Availability

SQL Server provides several replication mechanisms to distribute data across multiple servers, enabling scenarios such as load balancing, data warehousing, and offline synchronization. Replication involves three primary roles: the publisher, which holds the data to be replicated; the , which manages the replication and ; and the subscriber, which receives the replicated data. Snapshot replication delivers a complete copy of the data at a point in time, suitable for initial loads or infrequent updates, as it generates and distributes database snapshots without tracking incremental changes. Transactional replication, in contrast, captures and propagates committed transactions from the publisher to subscribers in near , supporting push subscriptions (where the pushes changes) or pull subscriptions (where subscribers request changes), and is ideal for continuously connected environments requiring low . Merge replication allows independent changes at multiple sites, merging them during synchronization to handle conflicts, and supports bidirectional topologies like transactional replication for load distribution across active-active nodes. For , SQL Server offers Always On Availability Groups, which provide database-level without shared storage. These groups support up to nine replicas, with synchronous-commit mode ensuring zero by waiting for secondary replicas to acknowledge transactions before committing on the primary, enabling automatic in under 30 seconds for synchronized setups. Asynchronous-commit mode prioritizes performance by allowing the primary to commit without waiting, suitable for distant replicas but risking during . Readable secondary replicas in availability groups can offload read-only workloads, such as reporting, from the primary, and are compatible with both commit modes. Cluster Instances (FCI) deliver instance-level by clustering SQL Server across Cluster nodes, allowing automatic of the entire instance to another node in case of , typically within minutes. Legacy options include log shipping, which automates the backup and restore of transaction logs from a primary to one or more secondary servers for manual , and database , a per-database solution that maintains a hot standby using principal and mirror roles with automatic or manual . Database , deprecated since SQL Server 2012 and unavailable in later versions on , has been superseded by availability groups for enhanced flexibility. In SQL Server 2025, enhancements to availability groups include improved support for distributed availability groups, which span multiple independent groups across regions or clusters for cross-site , with simplified configuration between contained availability groups and better synchronization performance. Auto-failover capabilities have been extended with deeper integration, enabling seamless in environments using Virtual Machines for cluster hosting and automatic policy-based recovery. Monitoring tools ensure the reliability of these features: the Replication Monitor tracks publication status, agent history, and performance metrics for all replication types, while the Always On Dashboard provides real-time views of availability group health, synchronization states, and readiness. In merge replication, conflicts are resolved automatically based on predefined priorities (e.g., publisher wins), with options for interactive resolution via the Replication Conflict Viewer to review and manually adjust conflicting changes.

Security and Compliance Features

Microsoft SQL Server supports two primary authentication modes to verify user identities: Windows Authentication mode, which uses Windows security mechanisms for integrated access without requiring separate credentials, and mixed mode, which combines Windows Authentication with SQL Server Authentication for username and password-based logins. Windows Authentication is recommended for its reliance on operating system-level security, reducing credential management overhead. For hybrid environments, SQL Server integrates with (formerly Azure AD) to enable and , allowing users to authenticate using Entra ID credentials across on-premises and cloud deployments. Authorization in SQL Server is managed through a hierarchical model of roles and permissions, enabling fine-grained control over access. Server-level roles, such as sysadmin and securityadmin, group logins to administer instance-wide operations, while database-level roles like db_owner and db_datareader define access within specific databases. Permissions are assigned using statements like , DENY, and REVOKE, allowing granular control on securables such as , tables, and procedures—for instance, granting SELECT on a specific without broader database access. Contained databases enhance portability and by isolating user and metadata within the database itself, supporting contained users that authenticate directly without relying on server-level logins. SQL Server provides multiple encryption options to protect data at rest and in transit. Transparent Data Encryption (TDE) encrypts entire database files using a Database Encryption Key (DEK) protected by a certificate or asymmetric key, ensuring data remains encrypted on disk without application changes. Always Encrypted enables client-side encryption of sensitive columns, such as credit card numbers, where encryption keys are managed externally and never exposed to the Database Engine, supporting operations like pattern matching on encrypted data. Column-level encryption complements these by allowing manual encryption of individual columns via built-in functions. For network communications, SQL Server supports TLS 1.3 starting with version 2022, providing stronger cipher suites and reduced handshake latency for secure connections. Auditing and compliance features in SQL Server facilitate monitoring and regulatory adherence. SQL Server Audit captures server- and database-level events, such as logins and data modifications, writing them to files, the Windows event log, or Storage for analysis. Extended Events offers lightweight, flexible tracing for detailed diagnostics, including security-related activities like permission changes. Introduced in SQL Server 2022, ledger tables provide tamper-evident storage with cryptographic hashing and blockchains, ensuring immutable audit trails for verifying against alterations. These capabilities align with standards like GDPR for data protection and HIPAA for healthcare privacy, enabling organizations to demonstrate accountability through auditable logs and encrypted data handling. Microsoft Defender for SQL, available since SQL Server 2022, provides AI-driven threat detection, using to identify anomalies such as unusual access patterns or potential attempts in . In SQL Server 2025 (preview as of November 2025), security enhancements include targeted invalidation of security caches for specific logins, support for OAEP padding in , as the default for hashing, and expanded TLS 1.3 support across features like replication. These updates build on features by incorporating secure mechanisms to maintain and auditing continuity during replication.

Management and Development Tools

Graphical Management Tools

(SSMS) serves as the primary for administering SQL Server instances, providing an integrated environment for developers and database administrators to configure, monitor, and develop components of SQL Server, Azure SQL Database, Azure SQL Managed Instance, and related services. It includes tools for T-SQL editing through rich query and text editors with IntelliSense support, enabling interactive script building and execution. The Object Explorer pane allows hierarchical navigation and management of database objects such as tables, views, and stored procedures, while visual database tools facilitate query tuning, table design, and database diagramming to optimize performance. As of November 2025, SSMS version 22 is the latest generally available release, offering support for SQL Server 2025 (17.x) features, including configuration options like FULLTEXT_INDEX_VERSION in database properties dialogs. Azure Data Studio provides a lightweight, cross-platform alternative to SSMS, running on Windows, macOS, and to connect to and query SQL Server instances, SQL, and other databases like and . It features a modern editor with IntelliSense for T-SQL, code snippets, and an integrated terminal for development tasks, alongside Jupyter notebook support for interactive data exploration and analysis. Extensions enhance its functionality, including integration for , customizable dashboards for performance insights via widgets, and tools for database migrations and charting. Designed for data professionals, it emphasizes productivity in cloud and on-premises environments, with compatibility for SQL Server 2025 features through its connection capabilities. Azure Data Studio is scheduled to retire on February 28, 2026, with Microsoft recommending migration to and the MSSQL extension for continued development. SQL Server Configuration Manager is a dedicated graphical tool for managing services and network configurations associated with SQL Server installations. It enables starting, stopping, pausing, or resuming services like the SQL Server Database Engine and SQL Server Agent, along with configuring startup modes and service accounts, integrating seamlessly with Windows Management Console (MMC) snap-ins for centralized administration. Users can configure network protocols such as TCP/IP, Named Pipes, and Shared Memory, enable or disable them per instance, and manage client aliases to simplify connectivity, though aliases for SQL Server 2022 and later require the separate SQL Server Client Network Utility. This tool ensures reliable instance settings and troubleshooting of network-related issues without relying on command-line interfaces. Activity Monitor, accessible within SSMS, offers real-time graphical monitoring of SQL Server instance activity to identify performance bottlenecks. It displays an overview pane summarizing CPU usage, wait types, and resource consumption, with expandable sections for processes showing active sessions and their resource impact, including top resource-consuming queries. Additional panes cover resource waits to highlight blocking operations, data file I/O for storage performance, and recent or active expensive queries to pinpoint tuning opportunities. Administrators can sort, filter, and rearrange data in these views for quick diagnosis of issues like high CPU utilization or blocking processes.

Command-Line and Scripting Tools

Microsoft SQL Server provides several command-line and scripting tools designed for automating database administration, executing queries, and managing data operations without graphical interfaces. These tools enable , , and integration into scripts for deployment pipelines, supporting tasks from querying to bulk data handling. The sqlcmd utility serves as the primary command-line tool for interacting with SQL Server instances. It allows users to execute (T-SQL) statements, system procedures, and files in interactive or batch modes, facilitating of T-SQL scripting tasks. sqlcmd supports scripting variables through commands like :setvar and :r for including external files, enabling dynamic parameterization for reusable scripts. For , it includes an OSQL mode that emulates the older osql utility's behavior, activated via specific options or environment settings. Output can be directed to files in various formats; for instance, (CSV) are achieved using the -s"," separator option, while JSON output leverages the FOR JSON clause within T-SQL queries executed by sqlcmd. In SQL Server 2025, sqlcmd enhancements support vector queries through the new vector and scalar functions, allowing binary vector operations directly in scripts for and workloads. PowerShell integration extends scripting capabilities via the SqlServer module, which provides cmdlets for comprehensive database management. The Invoke-Sqlcmd cmdlet mirrors sqlcmd functionality, executing T-SQL scripts with support for SQLCMD commands like GO and variables, and outputs results in formats including . Additional cmdlets handle operations, such as Backup-SqlDatabase for creating full, differential, or log backups, and Restore-SqlDatabase for . The module integrates with Desired State Configuration (DSC) through the SqlServerDsc resource, enabling declarative configuration of SQL Server installations and features on Windows servers. For cross-platform use, the SqlServer module is compatible with 7 and later, including scenarios involving Azure Arc for hybrid management of on-premises SQL Server instances. The Bulk Copy Program (bcp) utility facilitates high-speed data import and export between SQL Server and flat files, optimized for large-scale operations. It supports multiple formats, including native binary for efficient transfers, character-based for text files, , and custom layouts defined via format files generated with the -f option. Error handling includes the -e flag to log rejected rows to an error file, though error messages are limited to the first 512 bytes for display purposes; full details require reviewing the error log. bcp performs bulk operations faster than row-by-row inserts, making it suitable for data warehousing and ETL processes. Database Application Close Packages (DACPAC) and the SqlPackage utility support automated schema management and deployment for database projects. A DACPAC file encapsulates the schema definition of a database, serving as a portable artifact for version-controlled deployments built from SQL database projects in tools like . SqlPackage, a to the Data-Tier Application Framework (DacFx), enables actions such as publishing a DACPAC to update a target database incrementally, extracting schemas from live databases, and performing schema comparisons. In SQL Server 2025, SqlPackage includes support for vector indexes, enhancing deployment automation for AI-enabled databases. These tools integrate into pipelines for consistent, scripted database lifecycle management.

Integrated Development Environments

SQL Server developers commonly use integrated development environments () that provide robust support for creating, managing, and deploying database projects, with seamless integration for (T-SQL) editing and application building. These tools emphasize workflow efficiency, from design to testing and deployment, often extending general-purpose IDEs like . A primary IDE for SQL Server development is , enhanced by SQL Server Data Tools (SSDT), which enables the creation of database projects that represent schemas including tables, views, stored procedures, and functions. SSDT facilitates schema comparison, deployment to SQL Server or SQL Database, and through integration with 's testing framework, allowing developers to validate changes in isolated environments before production rollout. Its tight coupling with .NET development workflows supports building hybrid applications that interact with SQL Server data, such as those using or . In 2022, SSDT includes project templates compatible with Fabric, enabling state-based deployments to Fabric Data Warehouses and Synapse Analytics environments. For lighter, cross-platform development, serves as an effective via the official MSSQL extension, which delivers IntelliSense for T-SQL autocompletion, , and query execution directly within the editor. The extension supports debugging SQL scripts, connection management to local or remote SQL Server instances, and visualization of query execution plans, streamlining iterative development without requiring a full installation. It also integrates with Jupyter notebooks for interactive SQL exploration, embedding results and charts akin to Azure Data Studio's capabilities. Prior to SQL Server 2012, Development Studio (BIDS) was the legacy bundled with 2005 through 2008, specifically tailored for developing (SSIS), Reporting Services (SSRS), and Analysis Services (SSAS) projects. BIDS provided designers and wizards for BI artifacts but has been fully migrated to SSDT since 2010, with no ongoing support in modern versions. Third-party extensions augment these IDEs for enhanced productivity; for instance, SQL Prompt integrates with and (SSMS) to offer advanced , automated formatting, and refactoring tools that accelerate T-SQL writing by suggesting context-aware snippets and identifying potential errors. Similarly, dbForge Studio for SQL Server functions as a standalone with strong diagramming features, allowing visual , schema synchronization, and data comparison to support complex development tasks. As of 2025, Visual Studio 2022 incorporates AI-assisted features like for T-SQL , generating suggestions based on natural language prompts and code context to boost developer efficiency in SSDT projects. These updates, including support for SQL Server 2025 schemas, ensure compatibility with emerging data platforms like Fabric.

References

  1. [1]
    What Is SQL Server? - SQL Server - Microsoft Learn
    Sep 8, 2025 · Microsoft SQL Server is a relational database management system (RDBMS). Applications and tools connect to a SQL Server instance or database, and communicate ...Sql Server Components And... · Fundamental Concepts · Azure Integration
  2. [2]
    New Video: The History of SQL Server - Microsoft
    Feb 15, 2012 · The history of SQL Server dates back to 1989 when the product came about as a result of a partnership between Microsoft, Sybase, and Ashton-Tate.
  3. [3]
  4. [4]
    Overview of SQL Server on Azure Windows Virtual Machines
    Oct 14, 2025 · SQL Server on Azure Virtual Machines enables you to use full versions of SQL Server in the cloud without having to manage any on-premises hardware.
  5. [5]
    In-Memory OLTP overview and usage scenarios - SQL Server
    Mar 5, 2024 · In-Memory OLTP is the premier technology available in SQL Server and SQL Database for optimizing performance of transaction processing, data ingestion, data ...Missing: OLAP | Show results with:OLAP
  6. [6]
    Online Analytical Processing - Azure Architecture Center
    Apr 22, 2025 · The OLTP system contains SQL Database, SQL Server on VMs, Azure Database for MySQL, and Azure Database for PostgreSQL. The OLAP system contains ...
  7. [7]
    Client Network Configuration - SQL Server - Microsoft Learn
    Aug 27, 2025 · The client/server architecture of SQL Server allows it to seamlessly manage multiple clients and servers on a network.
  8. [8]
    SQL Server - Microsoft Licensing Resources
    Enterprise and Standard are the two main editions. The Web Edition is offered only to hosters through the Services Provider License Agreement (SPLA). Developer ...
  9. [9]
    [PDF] Licensing guide - Microsoft SQL Server 2022
    Nov 16, 2022 · The Server+CAL licensing model provides the option to license users and/or devices and then have low-cost access to incremental SQL Server ...
  10. [10]
    Microsoft SQL Server
    A modern, comprehensive, enterprise-ready business intelligence platform to transform data into insights.
  11. [11]
    Maximum Capacity Specifications for SQL Server - Microsoft Learn
    Aug 21, 2025 · Maximum value of configured connections. Database size, 524,272 terabytes. Databases per instance of SQL Server, 32,767. Filegroups per database ...Database Engine objects · SQL Server Data-tier...
  12. [12]
    Editions and Supported Features of SQL Server 2022 - Microsoft Learn
    SQL Server 2022 includes features for connecting to Azure Synapse Analytics, Azure SQL Managed Instance, and Microsoft Purview.
  13. [13]
    Partitioned Tables and Indexes - SQL - Microsoft Learn
    The database engine supports up to 15,000 partitions per table or index. However, using more than 1,000 partitions has implications on memory, partitioned index ...Missing: scalability | Show results with:scalability<|separator|>
  14. [14]
    Columnstore indexes: Overview - SQL Server
    ### Summary: Columnstore Indexes for Analytics Performance
  15. [15]
    Intelligent Query Processing - SQL Server
    ### Confirmation of Intelligent Query Processing with Adaptive Joins
  16. [16]
    Transparent Data Encryption (TDE) - SQL Server - Microsoft Learn
    Sep 7, 2025 · TDE encrypts SQL Server, Azure SQL Database, and Azure Synapse Analytics data files. This encryption is known as encrypting data at rest.About Tde · Encryption Hierarchy · Enable Tde
  17. [17]
    Row-Level Security - SQL Server | Microsoft Learn
    Row-level security (RLS) enables you to use group membership or execution context to control access to rows in a database table.Examples · A. Scenario For Users Who... · D. Scenario For Using A...
  18. [18]
    Dynamic Data Masking - SQL Server - Microsoft Learn
    Jun 30, 2025 · Dynamic data masking (DDM) limits sensitive data exposure by masking it to nonprivileged users. It can be used to greatly simplify the design and coding of ...Define A Dynamic Data Mask · Examples · Overview Of Dynamic Data...Missing: Transparent TDE
  19. [19]
    JSON Functions (Transact-SQL) - SQL Server
    ### Summary of JSON Functions in Transact-SQL
  20. [20]
    Spatial Data Types Overview - SQL Server | Microsoft Learn
    Nov 22, 2024 · SQL Server also supports the geography data type, which stores ellipsoidal (round-earth) data, such as GPS latitude and longitude coordinates.
  21. [21]
    Overview - SQL Server enabled by Azure Arc
    ### Confirmation of Azure Arc for Hybrid Cloud Connectivity
  22. [22]
    Tutorial: Connect to On-premises Data in SQL Server - Power BI
    In Power BI Desktop, on the Home tab, select Get data > SQL Server. In the SQL Server database dialog box, enter the Server and Database (optional) names, and ...
  23. [23]
  24. [24]
    Configure and manage Microsoft Entra authentication with Azure SQL
    Sep 11, 2025 · This article shows you how to use Microsoft Entra ID for authentication with Azure SQL Database, Azure SQL Managed Instance, and Azure Synapse Analytics.
  25. [25]
    MS SQL Server History and Advantages - ByteScout
    The MS SQL Server history commenced with the very first product; SQL Server 1.0. It was a 16-bit wide server for the operating environment of OS/2 in 1989.MS SQL Server Interface · MS SQL Server History · SQL Servers Versions and...<|control11|><|separator|>
  26. [26]
    The ghosts of Microsoft SQL Server past, present, and yet to come
    Dec 28, 2020 · 1990 saw version 1.1, also for OS/2, before version 4.2 and 4.21 (for the freshly released Windows NT 3.1) arrived in 1993. Microsoft and Sybase ...
  27. [27]
    A Deeper Look At Sybase: History of ASE - SAP Community
    Apr 15, 2011 · Around 1994, Microsoft basically bought a copy of the source code of Sybase SQL Server for the Windows platform and then went its own way. As ...
  28. [28]
    History of Microsoft SQL Server - Licenseware
    Feb 24, 2023 · The first version of SQL Server, known as SQL Server 1.0, was released in 1989 for the OS/2 operating system. This version was developed in ...
  29. [29]
    History of Sybase, Inc. - FundingUniverse
    In early 1995, Sybase merged with Powersoft, the leading client/server tools vendor at the time. The merger created the world's sixth largest independent ...
  30. [30]
    What's New in SQL Server 7.0? - ITPro Today
    With NT 5.0, SQL Server 7.0 supports 64-bit addressing, which lets SQL Server address up to 32GB of RAM on 64-bit platforms such as Alpha.
  31. [31]
    Microsoft Unveils Enterprise OLAP Features for Microsoft SQL ...
    Sep 14, 1998 · The new features will be available in the final version of Microsoft SQL Server 7.0, due to ship in the final quarter of 1998. They include ...Missing: ISAM- 32 GB
  32. [32]
    How Did Microsoft Compete with Oracle Database Over the Years
    Feb 6, 2025 · Microsoft stepped up with SQL Server, coaxing DBAs away from Unix systems by leaning heavily on a Windows ecosystem that many found simpler to manage.
  33. [33]
    [PDF] A Technical Comparison with Microsoft SQL Server 2008 - Oracle
    It is important to stress that none of the features provided by Microsoft's SQL Server 2008 compare with the combined high availability and scalability features ...Missing: challenges | Show results with:challenges
  34. [34]
    The history of SQL Server - the evolution of SQL Server features
    Feb 2, 2018 · This code base was now fully independent from Sybase. Nice wizards to create tables, indexes, stored procedures, replication and schedule ...<|control11|><|separator|>
  35. [35]
    SQL Server 2000: New XML Features Streamline Web-centric App ...
    SUMMARY With XML support in SQL Server 2000, you can query SQL over HTTP with a URL, bring the data down to the browser, and manipulate it on the client machine ...
  36. [36]
    SQL Server 2000: New Features Provide Unmatched Ease of Use ...
    Oct 24, 2019 · SQL Server 2000 includes new features like AWE support, new data types (bigint, variant, table), XML support, and enhancements to triggers, ...
  37. [37]
    SQL Server Common Language Runtime Integration - ADO.NET
    Sep 15, 2021 · SQL Server 2005 introduced the integration of the common language runtime (CLR) component of the .NET Framework for Microsoft Windows.
  38. [38]
    Message Orientation - SQL Server 2005 Service Broker
    In SQL Server 2005, Microsoft introduced the Service Broker (SSB) technology, which supports the Broker design pattern and the principles of message-oriented ...
  39. [39]
    NotificationServices Class (Microsoft.SqlServer.Management.Nmo)
    Use the NotificationServices class to enumerate the Notification Services instances on an instance of the SQL Server 2005 Database Engine. If you attempt to ...
  40. [40]
    What's New in SQL Server 2019 - Microsoft Learn
    Sep 3, 2025 · SQL Server 2019 (15.x) introduces Big Data Clusters for SQL Server. It also provides additional capability and improvements for the SQL Server database engine.
  41. [41]
    What's New in SQL Server 2022 - Microsoft Learn
    Sep 8, 2025 · Learn about new features for SQL Server 2022 (16.x), which gives you choices of development languages, data types, environments, ...Security · Performance · Query Store And Intelligent...<|control11|><|separator|>
  42. [42]
    SQL Server end of support options - Microsoft Learn
    Jun 16, 2025 · This article explains your options for addressing SQL Server products that reach end of support. Understand the SQL Server lifecycle.Understand the SQL Server... · OptionsMissing: history | Show results with:history
  43. [43]
    Microsoft SQL Server - endoflife.date
    Sep 15, 2025 · Microsoft SQL Server is a relational database management system developed by Microsoft. Latest updates and version history
  44. [44]
    Vector data type in SQL Server 2022: Upgrade to SSMS 21 for ...
    Jul 15, 2025 · The new Vector data type, introduced in SQL Server 2022 and Azure SQL, is a powerful feature designed for handling high-dimensional data ...Missing: approximate | Show results with:approximate<|separator|>
  45. [45]
    Announcing SQL Server 2025 (preview): The AI-ready enterprise ...
    May 19, 2025 · SQL Server 2025, now in public preview, empowers customers to develop modern AI applications securely using their data.
  46. [46]
    What's new in SQL Server 2025 Preview - Microsoft Learn
    Oct 6, 2025 · Learn about new features for SQL Server 2025 (17.x), which gives you choices of development languages, data types, environments, ...SQL Tools Overview · SQL Server Integration... · Microsoft Logo · Microsoft Ignite
  47. [47]
    Announcing SQL Server 2025 Public Preview - LinkedIn
    May 19, 2025 · Fabric. Microsoft Fabric is the unified data platform. SQL Server 2025 can easily integrate with Fabric through a concept called Mirroring.
  48. [48]
    Our 2025 Environmental Sustainability Report - Microsoft Blog
    May 29, 2025 · This year, we reflect on our progress towards our ambitious 2030 goals: to be carbon negative, water positive, and zero waste, while protecting ecosystems.Missing: SQL | Show results with:SQL
  49. [49]
    SQL ConstantCare® Population Report: Fall 2025
    Oct 18, 2025 · SQL Server 2025: exactly 1 server being monitored, heh. · SQL Server 2022: 25%, up from 24% last quarter · SQL Server 2019: 43%, was 45% · SQL ...Missing: enterprises | Show results with:enterprises
  50. [50]
    Comprehensive Overview of Microsoft SQL Server 2025 Certification
    This comprehensive certification validates a professional's proficiency in managing, developing, and implementing database solutions leveraging SQL Server 2025 ...
  51. [51]
    popularity ranking of database management systems - DB-Engines
    The DB-Engines Ranking ranks database management systems according to their popularity. The ranking is updated monthly.Trend chart · Graph DBMS · Relational DBMS · Microsoft SQL Server
  52. [52]
    Editions and Supported Features of SQL Server 2022 - SQL Server
    ### Summary of SQL Server 2022 Editions: Features and Limits
  53. [53]
    Pricing guidance for SQL Server on Azure VMs - Microsoft Learn
    Sep 26, 2025 · You can see the pricing for the different SQL Server editions (Web, Standard, Enterprise) in the Azure Virtual Machines pricing page for Windows ...
  54. [54]
    SQL Server Developer Edition - Microsoft Q&A
    Sep 30, 2025 · Free to use for development, testing and showcasing to clients. · Not licensed for production use. · Ideal for independent developers and small ...
  55. [55]
    SQL Server 2025 - Standard Developer edition - dbi services
    May 20, 2025 · SQL Server 2025 introduces the Standard Developer edition, allowing companies to deploy across all development, quality and testing environments.
  56. [56]
    SQL Server 2025 Preview | Microsoft Evaluation Center
    Review SQL Server 2025 Preview system requirements and release notes. Register, then download and install full-featured software for a 180-day trial.Missing: Specialized Compact PDW
  57. [57]
    Is evaluation version of SQL Server 2019 same as Standard Edition?
    Nov 7, 2022 · The evaluation edition is an enterprise evaluation edition. Microsoft SQL Server Evaluation enables you to use all Enterprise edition features for 180 days.
  58. [58]
    Microsoft SQL Server Compact 4.0 - Microsoft Lifecycle
    Microsoft SQL Server Compact 4.0 follows the Fixed Lifecycle Policy. Support dates are shown in the Pacific Time Zone (PT) - Redmond, WA, USA.
  59. [59]
    End of Microsoft Support for SQL Server Compact
    SQL Server Compact is used in Meridian for external tables and user database management. However, Microsoft support for SQL Server Compact ended in July 2021.
  60. [60]
    Analytics Platform System (PDW) services status - Parallel Data ...
    Jan 3, 2025 · The Parallel Data Warehouse Services Status page in the Microsoft Analytics Platform System Configuration Manager shows the current status of all SQL Server ...
  61. [61]
    Parallel Data Warehouse components - Analytics Platform System
    Mar 3, 2023 · SQL Server PDW is a valid data source for Analysis Services databases and Excel PowerPivot models. Using the OLE DB provider, you can configure ...Appliance Software - Query... · Appliance Fabric
  62. [62]
    Microsoft Announces Expanded SQL Server 2005 Product Line to ...
    Feb 24, 2005 · SQL Server 2005 Workgroup Edition , an affordable, easy-to-use and simple-to-manage database solution for small to medium-sized organizations.
  63. [63]
    [DOC] compact_express_comparison.doc - Microsoft Download Center
    Workgroup adds additional functionality such as merge replication publishing, unlimited database size, and can utilize dual CPU machines with memory up to 3GB. ...
  64. [64]
    Technical support policy for Microsoft SQL Server
    May 22, 2025 · For more information, see SQL Server Service Packs are discontinued starting from SQL Server 2017.Supported Virtualization... · Guidelines · Support PolicyMissing: Workgroup | Show results with:Workgroup
  65. [65]
    Microsoft SQL Server 2008 - Microsoft Lifecycle
    Service Pack 1, Mar 31, 2009, Oct 11, 2011. Original Release, Nov 6, 2008, Apr 13, 2010. Tip. *Extended Security Updates (ESU) are available for the Datacenter ...
  66. [66]
    Microsoft SQL Server 2008 R2 - Microsoft Lifecycle
    Microsoft SQL Server 2008 R2 follows the Fixed Lifecycle Policy. This applies to the following editions: Datacenter, Developer, Enterprise, Express, Express ...
  67. [67]
    Microsoft SQL Server Compact 3.5 - Microsoft Lifecycle
    Microsoft SQL Server Compact 3.5 follows the Fixed Lifecycle Policy. Important. Support for this product has ended. Support dates are shown in the Pacific Time ...
  68. [68]
    alternate to SQL Server Compact Edition - Microsoft Q&A
    May 4, 2021 · SQL Server Express is a free edition of SQL Server, ideal for development and production for desktop, web, and small server applications.
  69. [69]
    What's the upgrade or alternative component for SQL server ...
    May 21, 2024 · 1.SQLite A larger capacity, compatibility and functionality, open-source and continuously updated. Refer to https://learn.microsoft.com/en-us/dotnet/standard/ ...
  70. [70]
    SQL Server Migration Assistant - Microsoft Learn
    Oct 21, 2024 · Microsoft SQL Server Migration Assistant (SSMA) is a tool designed to automate database migration to SQL Server, Azure SQL Database, Azure SQL Managed Instance ...From mySQL · AccessToSQL · Db2ToSQL · From Oracle
  71. [71]
    Query Processing Architecture Guide - SQL Server | Microsoft Learn
    The SQL Server Database Engine processes queries on various data storage architectures such as local tables, partitioned tables, and tables distributed across ...
  72. [72]
    System Databases - SQL Server - Microsoft Learn
    Feb 28, 2023 · SQL Server provides a complete set of administrative tools that let users fully administer their system and manage all users and objects in a database.Modifying System Data · Viewing System Database Data
  73. [73]
    System catalog views (Transact-SQL) - SQL Server - Microsoft Learn
    Nov 22, 2024 · Catalog views return information that is used by the SQL Server Database Engine. We recommend that you use catalog views because they are the most general ...
  74. [74]
    System dynamic management views - SQL Server - Microsoft Learn
    Sep 4, 2024 · Dynamic management views and functions return server state information that can be used to monitor the health of a server instance, ...
  75. [75]
    Database Engine Instances (SQL Server) - Microsoft Learn
    Aug 26, 2025 · Each instance manages several system databases and one or more user databases. Each computer can run multiple instances of the Database Engine.
  76. [76]
    Database files and filegroups - SQL Server | Microsoft Learn
    Jul 22, 2024 · Every SQL Server database has two operating system files: a data file and a log file. Data files contain data and objects such as tables, indexes, stored ...
  77. [77]
    Pages and Extents Architecture Guide - SQL Server - Microsoft Learn
    Sep 7, 2025 · This guide describes the data structures that are used to manage pages and extents in all versions of SQL Server.Missing: ldf | Show results with:ldf
  78. [78]
    SQL Server, Buffer Manager object - Microsoft Learn
    Aug 27, 2024 · The lazy writer eliminates the need to perform frequent checkpoints in order to create available buffers. Page life expectancy, Indicates the ...
  79. [79]
    Write Pages in the Database Engine - SQL Server - Microsoft Learn
    Apr 1, 2025 · Lazy write process. The lazy writer is a system process that keeps free buffers available by removing infrequently used pages from the buffer ...How Sql Server Writes A... · How Dirty Pages Are Written... · Eager Write ProcessMissing: pool | Show results with:pool
  80. [80]
    Transaction locking and row versioning guide - SQL Server
    This guide describes locking and row versioning mechanisms the Database Engine uses to ensure the integrity of each transaction.
  81. [81]
    Deadlocks Guide - SQL Server - Microsoft Learn
    Oct 10, 2025 · A deadlock occurs when two or more tasks permanently block each other by each task having a lock on a resource that the other tasks are trying to lock.
  82. [82]
    Transactions with Memory-Optimized Tables - SQL Server
    Aug 27, 2024 · This article describes all the aspects of transactions that are specific to memory-optimized tables and natively compiled stored procedures.<|separator|>
  83. [83]
    Clustered and Nonclustered Indexes - SQL Server | Microsoft Learn
    Aug 21, 2025 · Clustered indexes sort and store the data rows in the table or view based on their key values. These key values are the columns included in the ...
  84. [84]
    CREATE INDEX (Transact-SQL) - SQL Server - Microsoft Learn
    Sep 29, 2025 · Creates a relational index on a table or view. Also called a rowstore index because it is either a clustered or nonclustered B-tree index.
  85. [85]
    Heaps (Tables without clustered indexes) - SQL - Microsoft Learn
    Nov 22, 2024 · A heap is a table without a clustered index. One or more nonclustered indexes can be created on tables stored as a heap.
  86. [86]
    Cardinality Estimation (SQL Server) - Microsoft Learn
    The SQL Server Query Optimizer is a cost-based Query Optimizer. This means that it selects query plans that have the lowest estimated processing cost to execute ...
  87. [87]
  88. [88]
    Monitor Performance by Using the Query Store - SQL Server
    Aug 22, 2025 · The Query Store simplifies performance troubleshooting by helping you quickly find performance differences caused by query plan changes.Enable the Query Store · Information in the Query Store
  89. [89]
    Execution plan overview - SQL Server | Microsoft Learn
    Sep 23, 2024 · Learn about execution plans or query plans, which the Query Optimizer creates for the SQL Server Database Engine to run queries.Missing: pipeline | Show results with:pipeline
  90. [90]
  91. [91]
    Transact-SQL Reference (Database Engine) - Microsoft Learn
    This article gives the basics about how to find and use the Microsoft Transact-SQL (T-SQL) reference articles.Transact-SQL statements · Write Transact-SQL Statements · Select
  92. [92]
    Get started with Transact-SQL programming - Training
    Transact-SQL (T-SQL) provides a robust programming language with features that let you temporarily store values in variables, apply conditional execution of ...
  93. [93]
    Data types (Transact-SQL) - SQL Server - Microsoft Learn
    Nov 6, 2024 · This article provides a summary of the different data types available in the SQL Server Database Engine.Char and varchar (Transact... · Nchar and nvarchar (Transact... · Float and real · Bit
  94. [94]
    Temporal Tables - SQL Server | Microsoft Learn
    A system-versioned temporal table is a type of user table designed to keep a full history of data changes, allowing easy point-in-time analysis.System-Versioned Temporal... · Manage retention of historical...
  95. [95]
    Transact-SQL statements - SQL Server - Microsoft Learn
    Nov 22, 2024 · This article summarizes the categories of statements for use with Transact-SQL (T-SQL) in addition to the SELECT statement.
  96. [96]
    What are the SQL database functions? - Microsoft Learn
    Sep 29, 2025 · Scalar functions. Operate on a single value and then return a single value. Scalar functions can be used wherever an expression is valid.String Functions (Transact-SQL) · Date and Time Data Types...
  97. [97]
    [MS-TSQLISO02]: SQL Server Transact-SQL ISO/IEC 9075-2 ...
    Oct 30, 2024 · Describes the level of support that is provided by Transact-SQL in both SQL Server 2008 R2 and SQL Server 2012 for Part 2: Foundation (SQL/Foundation)Published Version · Previous Versions · Preview Versions
  98. [98]
    Common language runtime (CLR) integration - SQL - Microsoft Learn
    Dec 30, 2024 · CLR integration with SQL Server allows you to implement some functionalities using any .NET Framework language as SQL Server server-side ...
  99. [99]
    Introduction to SQL Server CLR Integration - ADO.NET
    May 26, 2022 · CLR integration with SQL Server supports stored procedures, triggers, user-defined functions, user-defined types, and user-defined ...
  100. [100]
    .NET Framework SQLCLR support · Issue #2838 · dotnet/SqlClient
    Sep 8, 2024 · In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL ...
  101. [101]
    Announcing SQL Server 2025 – SQLServerCentral Forums
    Nov 22, 2024 · We're seeing more and more well-known MSSQL leaders embracing postgres. Open source growth in general, and movement to the cloud, are are ...
  102. [102]
    Enabling CLR Integration - SQL Server - Microsoft Learn
    Dec 30, 2024 · To enable CLR integration, you must have ALTER SETTINGS server level permission, which is implicitly held by members of the sysadmin and ...
  103. [103]
    Common Language Runtime (CLR) Programming - SQL Server
    Dec 30, 2024 · CLR integrates .NET Framework into SQL Server, allowing creation of database objects like stored procedures using languages like C# and Visual ...
  104. [104]
    Get Started With CLR Integration - SQL Server - Microsoft Learn
    Dec 30, 2024 · To start CLR integration, use required namespaces, write code in C# or VB.NET, compile it, enable CLR in SQL Server, and create an assembly.
  105. [105]
    [MS-TDS]: Tabular Data Stream Protocol - Microsoft Learn
    Apr 9, 2023 · Specifies the Tabular Data Stream Protocol, which is an application layer request/response protocol that facilitates interaction with a database server.
  106. [106]
    TDS 8.0 - SQL Server - Microsoft Learn
    Sep 18, 2025 · The Tabular Data Stream (TDS) protocol is an application layer protocol used by clients to connect to SQL Server.How TDS works · Compatibility matrix for TDS...
  107. [107]
    SQL Server Native Client - Microsoft Learn
    Sep 12, 2024 · SQL Server Native Client, also known as SNAC or SQLNCLI, refers to the ODBC and OLE DB drivers for SQL Server, prior to SQL Server 2022 (16. x).Installing · ODBC Driver · Microsoft OLE DB Driver for... · Support for LocalDB
  108. [108]
    Driver history for Microsoft SQL Server
    Aug 13, 2025 · This page describes Microsoft's historical data connection technologies for connecting to SQL Server and other legacy sources.Odbc · Microsoft Or Windows Data... · Deprecated Mdac/wdac...
  109. [109]
    Microsoft ODBC Driver for SQL Server
    Sep 6, 2024 · The bcp utility bulk copies data between an instance of Microsoft SQL Server and a data file in a format you choose. You can use bcp to ...
  110. [110]
    Overview of the SqlClient driver - ADO.NET Provider for SQL Server
    Jun 25, 2024 · The Microsoft SqlClient Data Provider for SQL Server is a .NET Framework and .NET Core data provider. It's used for connecting to a database, executing ...
  111. [111]
    Introduction to Microsoft.Data.SqlClient Namespace - ADO.NET ...
    Sep 5, 2025 · Learn about the Microsoft.Data.SqlClient namespace and how it's the preferred way to connect to SQL for .NET applications.
  112. [112]
    Entity Framework 6 SQL Server provider based on Microsoft.Data ...
    Jun 13, 2024 · This Entity Framework 6 provider is a replacement provider for the built-in SQL Server provider. This provider depends on the modern Microsoft.Data.SqlClient ...Configuration · EDMX usage
  113. [113]
    Microsoft JDBC Driver for SQL Server
    Sep 16, 2024 · Microsoft provides a Java Database Connectivity (JDBC) driver for use with SQL Server, Azure SQL Database, and Azure SQL Managed Instance.
  114. [114]
    Microsoft Drivers for PHP for SQL Server
    Sep 19, 2024 · The drivers are PHP extensions that allow the reading and writing of SQL Server data from within PHP scripts. The drivers provide interfaces for ...
  115. [115]
    How to call REST endpoints - Data API builder - Microsoft Learn
    Oct 14, 2025 · Learn how to call and use REST endpoints in Data API builder, including how to query, filter, sort, and page results.
  116. [116]
    Driver-Aware Connection Pooling in the ODBC Driver for SQL Server
    Jun 25, 2024 · This article describes the enhancements made to driver-aware connection pooling in the Microsoft ODBC Driver for SQL Server on Windows.
  117. [117]
    Setting the connection properties - JDBC Driver for SQL Server
    Sep 8, 2025 · multiSubnetFailover=true configures the driver to provide faster detection of and connection to the (currently) active server. Possible values ...
  118. [118]
    Connect to an availability group listener - SQL Server Always On
    Sep 29, 2024 · The MultiSubnetFailover connection option only works with the TCP network protocol and is only supported when connecting to an availability ...Missing: pooling | Show results with:pooling
  119. [119]
    SQL Server Integration Services (SSIS) - Microsoft Learn
    Sep 26, 2024 · SQL Server Integration Services is a platform for building enterprise-level data integration and data transformations solutions.Install Integration Services · Microsoft Ignite · SSIS Package Format · SSIS Designer
  120. [120]
    Data Flow - SQL Server Integration Services (SSIS)
    ### Summary of Data Flow Components in SQL Server Integration Services
  121. [121]
    SSIS How to Create an ETL Package - SQL - Microsoft Learn
    Sep 26, 2024 · Microsoft SQL Server Integration Services (SSIS) is a platform for building high-performance data integration solutions, including extraction, ...
  122. [122]
    SSIS Catalog - SQL Server Integration Services - Microsoft Learn
    Sep 4, 2024 · The SSISDB catalog is the central point for working with Integration Services (SSIS) projects that you've deployed to the Integration Services server.
  123. [123]
    SQL Server Integration Services (SSIS) Scale Out - Microsoft Learn
    Feb 28, 2023 · This article provides an overview of the SQL Server Integration Services (SSIS) Scale Out feature, which provides high-performance execution ...
  124. [124]
    What's New in SQL Server 2025 Integration Services Preview
    May 23, 2025 · This article describes the features that have been added or updated in SQL Server 2025 (17.x) Preview Integration Services.
  125. [125]
    Load Data into SQL Server or Azure SQL Database with SQL Server ...
    Jan 15, 2025 · Shows you how to create a SQL Server Integration Services (SSIS) package to move data from a wide variety of data sources to SQL Server or ...Missing: real- time CDC
  126. [126]
    What is change data capture (CDC)? - SQL Server - Microsoft Learn
    Aug 22, 2025 · Change data capture utilizes the SQL Server Agent to log insertions, updates, and deletions occurring in a table.Work with Change Data · Enable and Disable change... · Known Issues, LimitationsMissing: cleansing | Show results with:cleansing
  127. [127]
    SQL Server Analysis Services overview | Microsoft Learn
    Apr 29, 2025 · Analysis Services is an analytical data engine (VertiPaq) used in decision support and business analytics. It provides enterprise-grade semantic data models.
  128. [128]
    Comparing Analysis Services tabular and multidimensional models
    Feb 5, 2024 · It is meant to provide a high-level comparison of multidimensional and tabular model constructs entirely in context of SQL Server Analysis Services.
  129. [129]
    Tabular modeling overview - Analysis Services - Microsoft Learn
    Feb 5, 2024 · Tabular models in Analysis Services are databases that run in-memory or in DirectQuery mode, connecting to data from back-end relational data sources.<|separator|>
  130. [130]
    DAX in Analysis Services tabular models - Microsoft Learn
    Feb 5, 2024 · DAX enables tabular model authors to define custom calculations in both model tables, as part of calculated columns, and as measures associated ...
  131. [131]
    Measures in Analysis Services tabular models - Microsoft Learn
    Feb 5, 2024 · A measure is a calculation created using a DAX formula for use in a reporting client. Measures are evaluated based on fields, filters, and slicers users select.
  132. [132]
    What's new in SQL Server Analysis Services | Microsoft Learn
    Jun 6, 2025 · This article summarizes new features, improvements, deprecated and discontinued features, and behavior and breaking changes in the most recent versions of SQL ...
  133. [133]
    Use Microsoft Fabric to Design an Enterprise BI Solution - Azure ...
    Learn how to implement a pipeline that moves data from an on-premises data warehouse into Microsoft Fabric and transforms the data for analysis.
  134. [134]
    Reporting Services concepts (SSRS) - SQL - Microsoft Learn
    Sep 27, 2024 · SQL Server Reporting Services provides an extensible architecture that you can use to customize report solutions. The report server supports ...Report server concepts · Reports and related item...
  135. [135]
    Report Definition Language (SSRS) - Microsoft Learn
    Sep 27, 2024 · Report Definition Language (RDL) is an XML representation of a SQL Server Reporting Services (SSRS) report definition.Missing: architecture | Show results with:architecture
  136. [136]
    Rendering extensions overview - SQL Server Reporting Services ...
    Sep 27, 2024 · A rendering extension is a component or module of a report server that transforms report data and layout information into a device-specific ...Missing: architecture | Show results with:architecture
  137. [137]
    SQL Server Reporting Services (SSRS) - Microsoft Learn
    Sep 27, 2024 · SQL Server Reporting Services paginated reports are XML-based report definitions that include report data and report layout elements.Missing: architecture | Show results with:architecture
  138. [138]
  139. [139]
    Reporting Services Consolidation FAQ - SQL Server Reporting ...
    Jul 29, 2025 · Starting with SQL Server 2025, Microsoft is consolidating all on-premises reporting services under Power BI Report Server (PBIRS).
  140. [140]
    What's new in Power BI Report Server - Microsoft Learn
    We've improved the Power BI Report Server portal to provide a more inclusive modern graphical interface, making it easier to deliver meaningful reporting on ...
  141. [141]
    What is SQL Server Machine Learning Services (Python and R)?
    Sep 17, 2025 · Machine Learning Services is a feature in SQL Server that gives the ability to run Python and R scripts with relational data.Execute Python and R scripts... · Get started with Machine...
  142. [142]
  143. [143]
    Extensibility Architecture in SQL Server Language Extensions
    Aug 28, 2025 · Learn about the extensibility architecture used for SQL Server Language Extensions, which allows you to run external code in SQL Server.Background · Architecture diagrams
  144. [144]
    Install SQL Server Machine Learning Services on Windows
    Sep 17, 2025 · This article shows you how to install SQL Server Machine Learning Services on Windows. You can use Machine Learning Services to run Python and R scripts in- ...Run Setup · Verify Installation · Apply Updates
  145. [145]
    VECTOR_SEARCH (Transact-SQL) - SQL Server - Microsoft Learn
    Oct 16, 2025 · VECTOR_SEARCH search for vectors similar to a given query vectors using an approximate nearest neighbors vector search algorithm.Preview feature · Syntax<|separator|>
  146. [146]
  147. [147]
    CREATE EXTERNAL RESOURCE POOL (Transact-SQL) - SQL Server
    Sep 3, 2024 · A Resource Governor can distribute server resources among resource pools, up to a maximum of 64 pools. For R Services (In-Database) in SQL ...
  148. [148]
    Extensibility architecture - SQL Server Machine Learning Services
    Oct 31, 2024 · This article describes the architecture of the extensibility framework for running an external Python or R script on SQL Server Machine Learning Services.
  149. [149]
    Types of Replication - SQL Server - Microsoft Learn
    Sep 27, 2024 · Transactional replication and merge replication provide options for these types of applications. Related content. Replication Agents Overview ...
  150. [150]
    Snapshot Replication - SQL Server - Microsoft Learn
    Aug 21, 2025 · Snapshot replication and transactional replication use the Distribution Agent to deliver the files, whereas merge replication uses the SQL ...
  151. [151]
    Merge Replication - SQL Server | Microsoft Learn
    Aug 21, 2025 · Merge replication, like transactional replication, typically starts with a snapshot of the publication database objects and data.
  152. [152]
    Peer-to-Peer Transactional Replication - SQL Server | Microsoft Learn
    Aug 21, 2025 · Built on the foundation of transactional replication, peer-to-peer replication propagates transactionally consistent changes in near real-time.
  153. [153]
    What is an Always On availability group? - SQL Server Always On
    Oct 10, 2025 · Always On availability groups supports two availability modes: asynchronous-commit mode and synchronous-commit mode.Availability Modes · Basic · Prerequisites, Restrictions...
  154. [154]
    Availability Modes for an Availability Group - SQL Server Always On
    Jun 26, 2025 · Under asynchronous-commit mode, the secondary replica never becomes synchronized with the primary replica. Though a given secondary database ...Supported availability modes · Asynchronous-commit...Missing: readable | Show results with:readable
  155. [155]
    Offload workload to secondary availability group replica
    Mar 3, 2023 · A readable secondary replica can be in either synchronous-commit availability mode, or asynchronous-commit availability mode.
  156. [156]
    Always On failover cluster instances (SQL Server) - Microsoft Learn
    Aug 26, 2025 · An FCI is a single instance of SQL Server that's installed across Windows Server cluster nodes and, possibly, across multiple subnets. On the ...
  157. [157]
    Database Mirroring (SQL Server) - Microsoft Learn
    Sep 2, 2025 · Database mirroring is a solution for increasing the availability of a SQL Server database. Mirroring is implemented on a per-database basis.Missing: deprecated | Show results with:deprecated
  158. [158]
    Business Continuity and Database Recovery - SQL Server
    Aug 21, 2025 · Database mirroring, which was deprecated in SQL Server 2012 (11.x), isn't available on the Linux version of SQL Server, nor will it be added.Sql Server Scenarios Using... · High Availability · Availability Group Cluster...
  159. [159]
    What is a distributed availability group - SQL Server - Microsoft Learn
    May 19, 2025 · A distributed availability group (AG) is a special type of availability group that spans two separate availability groups.Overview · SQL Server 2025 changesMissing: enhancements | Show results with:enhancements
  160. [160]
    Failover cluster instances with SQL Server on Azure Virtual Machines
    Sep 15, 2025 · This article introduces feature differences when you're working with failover cluster instances (FCI) for SQL Server on Azure Virtual Machines (VMs).Missing: docs | Show results with:docs
  161. [161]
    Replication Conflict Viewer (Merge) - SQL Server - Microsoft Learn
    Sep 27, 2024 · The Replication Conflict Viewer allows you to view any conflicts that have occurred during replication synchronization.Missing: Dashboard | Show results with:Dashboard
  162. [162]
    Replication Merge Agent - SQL Server - Microsoft Learn
    Sep 27, 2024 · Specifies whether interactive conflict resolution is used when a conflict occurs during synchronization. The default is 0, indicating that ...Missing: Monitor | Show results with:Monitor
  163. [163]
    Choose an Authentication Mode - SQL Server | Microsoft Learn
    Jun 30, 2025 · During setup, you must select an authentication mode for the Database Engine. There are two possible modes: Windows Authentication mode and mixed mode.Configuring the authentication... · Connecting through Windows...
  164. [164]
    Authentication in SQL Server - ADO.NET Provider for SQL Server
    Jun 25, 2024 · SQL Server supports two authentication modes, Windows authentication mode and mixed mode. Important We recommend using Windows authentication wherever possible.Authentication scenarios · Login types
  165. [165]
    Microsoft Entra authentication for SQL Server overview
    You can now connect to SQL Server using the following Microsoft Entra authentication methods: Default authentication. Username and password.
  166. [166]
    Server-Level Roles - SQL Server - Microsoft Learn
    Feb 10, 2025 · SQL Server provides server-level roles to help you manage the permissions on a server. These roles are security principals that group other principals.
  167. [167]
    Database-level roles - SQL Server | Microsoft Learn
    Jul 31, 2025 · The permissions of user-defined database roles can be customized by using the GRANT, DENY, and REVOKE statements.
  168. [168]
    Permissions (Database Engine) - SQL Server - Microsoft Learn
    Jun 30, 2025 · Permissions in the Database Engine are managed at the server level assigned to logins and server roles, and at the database level assigned to database users ...
  169. [169]
    Contained Databases - SQL Server - Microsoft Learn
    Feb 28, 2023 · A contained database is a database that is isolated from other databases and from the instance of SQL Server that hosts the database.Partially Contained Database... · Containment
  170. [170]
    Contained User Access to Contained Databases - SQL Server
    Sep 17, 2025 · The contained database user model supports both Windows authentication and SQL Server authentication. You can use it in both SQL Server and SQL ...
  171. [171]
    Always Encrypted - SQL Server - Microsoft Learn
    Apr 23, 2025 · It enables clients to encrypt sensitive data within client applications, ensuring that encryption keys are never exposed to the Database Engine.Configure Always Encrypted · Limitations
  172. [172]
    SQL Server encryption - Microsoft Learn
    Nov 22, 2024 · Transparent data encryption (TDE). General information about how to ... Dynamic data masking. Limit sensitive data exposure by masking it ...Transparent Data Encryption · Encryption Hierarchy
  173. [173]
    TLS 1.3 support - SQL Server - Microsoft Learn
    Aug 20, 2025 · SQL Server 2022 (16.x) and Azure SQL Database support TLS 1.3 with TDS 8.0. TLS 1.3 is faster and more secure, but TLS 1.2 is still needed for ...Differences between TLS 1.2... · Driver support
  174. [174]
    SQL Server Audit Action Groups and Actions - Microsoft Learn
    Nov 26, 2024 · The SQL Server Audit feature enables you to audit server-level and database-level groups of events and individual events.
  175. [175]
    Security Documentation for SQL Server & Azure SQL Database
    Jun 30, 2025 · This page provides links to help you locate the information that you need about security and protection in the SQL Server Database Engine and Azure SQL ...Authentication: Who Are You? · Encryption: Storing Secret... · Connection Security...
  176. [176]
    Ledger Overview - SQL Server | Microsoft Learn
    Aug 7, 2025 · Ledger helps protect data from any attacker or high-privileged user, including database administrators (DBAs), system administrators, and cloud administrators.Use Cases For Ledger · Streamlining Audits · How It Works
  177. [177]
    General Data Protection Regulation - Microsoft GDPR
    Dec 1, 2024 · This document guides you to information to help you honor rights and fulfill obligations under the GDPR when using Microsoft products and ...Data Subject Request (dsr) · Dsr Faqs · Gdpr Faqs
  178. [178]
    Rotation tutorial for resources with one set of authentication ...
    May 15, 2025 · This tutorial shows how to automate the periodic rotation of secrets for databases and services that use one set of authentication credentials.
  179. [179]
    Microsoft Defender for SQL - Azure
    Jun 13, 2025 · Microsoft Defender for SQL provides a set of advanced SQL security capabilities, including SQL Vulnerability Assessment and Advanced Threat Protection.
  180. [180]
    SQL Server Management Studio (SSMS) - Microsoft Learn
    Jun 12, 2025 · SQL Server Management Studio (SSMS) is an integrated environment for managing any SQL infrastructure. Use SSMS to access, configure, manage, administer, and ...Manage Analysis Services... · Manage Integration Services... · Manage Reporting Services...
  181. [181]
    Release Notes for SQL Server Management Studio (SSMS)
    This article details updates, improvements, and bug fixes for the current version of SQL Server Management Studio 21.
  182. [182]
    What Is Azure Data Studio - Azure Data Studio | Microsoft Learn
    Feb 6, 2025 · Azure Data Studio is a free, light-weight tool that runs on Windows macOS, and Linux, for managing SQL Server, Azure SQL Database, and Azure
  183. [183]
    SQL Server Configuration Manager - Microsoft Learn
    Mar 18, 2025 · SQL Server Configuration Manager is a tool to manage the services associated with SQL Server, configure the network protocols used by SQL Server,
  184. [184]
    Activity Monitor - SQL Server | Microsoft Learn
    Aug 27, 2024 · Activity Monitor is a tabbed document window with the following expandable and collapsible panes: Overview, Processes, Resource Waits, Data File ...
  185. [185]
    SQL Command-Line Utilities (Database Engine) - Microsoft Learn
    Jul 10, 2025 · Command prompt utilities enable you to script SQL Server operations. This article lists many command-line utilities that ship with SQL ...
  186. [186]
    Use sqlcmd - SQL Server | Microsoft Learn
    Jul 2, 2025 · sqlcmd is a command-line utility for ad hoc, interactive execution of Transact-SQL (T-SQL) statements and scripts and for automating T-SQL scripting tasks.
  187. [187]
    Use sqlcmd with Scripting Variables - SQL Server - Microsoft Learn
    Jul 4, 2025 · In this article​​ The sqlcmd utility lets you enter Transact-SQL statements, system procedures, and script files. To find out which variant and ...
  188. [188]
    Run Transact-SQL Commands with the sqlcmd Utility - Microsoft Learn
    Jul 4, 2025 · The sqlcmd utility lets you enter Transact-SQL statements, system procedures, and script files through various modes.sqlcmd variants · TDS 8.0 support
  189. [189]
    Format Query Results as JSON with FOR JSON - SQL Server
    Jul 24, 2025 · Format query results as JSON, or export data from SQL Server as JSON, by adding the FOR JSON clause to a SELECT statement.Missing: CSV | Show results with:CSV
  190. [190]
    Invoke-Sqlcmd (SqlServer) - SQL Server PowerShell | Microsoft Learn
    Invoke-Sqlcmd runs scripts with SQL Server SQLCMD commands, including Transact-SQL and XQuery, and supports commands like GO and QUIT.
  191. [191]
    Install SQL Server with PowerShell Desired State Configuration
    Jun 3, 2025 · This article explores the initial setup of a standalone instance of SQL Server 2017 on Windows Server 2016 by using the SqlServerDsc DSC resource.Prerequisites · Install the SqlServerDsc DSC...
  192. [192]
    Install the SQL Server PowerShell module - Microsoft Learn
    Sep 10, 2025 · Learn how to install the SqlServer PowerShell module, which provides cmdlets for SQL features and updated versions of the SQLPS module.
  193. [193]
    Connected Machine agent prerequisites - Azure Arc | Microsoft Learn
    Oct 16, 2025 · This article outlines the technical prerequisites, supported environments, and specifications required for successfully onboarding physical and virtual servers ...Supported Environments · Supported Operating Systems · Limited Support Operating...
  194. [194]
    Bulk Copy with bcp Utility - SQL Server - Microsoft Learn
    The bcp utility can be used to import large numbers of new rows into SQL Server tables or to export data out of tables into data files. Except when used with ...Download the latest version of... · TDS 8.0 support
  195. [195]
    Specify File Storage Type by Using bcp (SQL Server) - Microsoft Learn
    Apr 4, 2023 · If you enter a file storage type that represents an invalid implicit conversion, bcp fails; for example, though you can specify int for smallint ...
  196. [196]
    Use a Format File to Bulk Import Data - SQL Server - Microsoft Learn
    Jun 18, 2025 · This module explains how to import data from a text file, CSV file, XML file, and JavaScript Object Notation (JSON) file. Events. Fabric Data ...
  197. [197]
    Data-Tier Applications (DAC) Overview - SQL Server - Microsoft Learn
    Mar 11, 2025 · The .dacpac data-tier application package is the build artifact from SQL database projects and can be used as part of a comprehensive database ...
  198. [198]
    SqlPackage - SQL Server - Microsoft Learn
    Apr 28, 2025 · SqlPackage is a command-line utility that automates the database development tasks by exposing some of the public Data-Tier Application Framework (DacFx) APIs.SqlPackage Publish · SqlPackage Import · SqlPackage Export · SqlPackage Extract
  199. [199]
    DacFx and SqlPackage Release Notes - SQL Server | Microsoft Learn
    Download the latest version. This article lists the features and fixes delivered by the released versions of SqlPackage.
  200. [200]
    SQL Server Data Tools (SSDT) - Microsoft Learn
    Sep 10, 2025 · SQL Server Data Tools (SSDT) is a set of development tools in Visual Studio with focus on building SQL Server databases and Azure SQL databases.Microsoft Ignite · Previous Releases of SQL... · SDK-style
  201. [201]
    SQL Server Data Tools - Visual Studio IDE - Microsoft
    Feb 28, 2025 · Turn Visual Studio into a powerful development environment for SQL Server, Azure SQL Database and Azure SQL Data Warehouse
  202. [202]
    Install SQL Server Data Tools (SSDT) for Visual Studio
    Sep 9, 2025 · SQL Server Data Tools (SSDT) is a set of development tooling for building SQL Server databases, Azure SQL databases, Analysis Services (AS) data models.Previous Releases of SQL... · SqlPackage · SDK-style
  203. [203]
    What Are SQL Database Projects? - SQL Server - Microsoft Learn
    Mar 11, 2025 · A SQL database project is a local representation of SQL objects that comprise the schema for a single database, such as tables, stored procedures, or functions.
  204. [204]
    Overview of the MSSQL Extension for Visual Studio Code
    Jun 18, 2025 · Save Query Results: Includes the ability to save query results to multiple formats such as JSON, Excel, and CSV, allowing you to work with the ...Missing: sqlcmd | Show results with:sqlcmd
  205. [205]
    SQL Server (mssql) - Visual Studio Marketplace
    Sep 12, 2025 · The MSSQL Extension for Visual Studio Code is designed to empower developers by providing a seamless and modern database development experience.
  206. [206]
    Transact-SQL in Visual Studio Code
    Open the Extensions view from VS Code Side Bar (Ctrl+Shift+X). · Type "mssql" in the search bar, click Install, and reload VS Code when prompted.
  207. [207]
    Previous Releases of SQL Server Data Tools (SSDT) - Microsoft Learn
    To install SSDT during Visual Studio installation, select the Data storage and processing workload, and then select SQL Server Data Tools. If Visual Studio is ...
  208. [208]
    Write, format, analyze and refactor SQL effortlessly in SSMS and ...
    SQL Prompt helps you to double coding speed with IntelliSense-style code completion, one-click SQL formatting, customizable code snippets, SQL query history, ...Buy nowBuy · Download free trial · Support · SQL Prompt
  209. [209]
    dbForge Studio for SQL Server - Devart
    dbForge Studio for SQL Server is a powerful SQL Server GUI Tool for SQL Server database management, administration, development, data reporting, ...DownloadBuy nowEditionsFor EnterpriseFeatures
  210. [210]
    AI-assistance for developers in Visual Studio - Microsoft Learn
    Sep 10, 2025 · In this article, you'll learn about the AI-assisted development capabilities you can use in Visual Studio to enhance your productivity and efficiency.How Does Ai-Assisted... · Github Copilot & Intellicode · Github Copilot In Visual...Missing: Server | Show results with:Server
  211. [211]
    Visual Studio 2022 version 17.14 Release Notes - Microsoft Learn
    This update focuses on stability and security, along with AI improvements for all developers. Download Visual Studio 2022 v17.14 to enjoy these new features ...Visual Studio 2019 version... · Visual Studio 2010 Service... · Distributable Code