Updated: July 9, 2020 (December 26, 2005)
SidebarSQL Server Programming Concepts
Accessing and manipulating data stored in SQL Server typically involves issuing commands, queries, and other instructions in Transact-SQL (T-SQL), Microsoft’s extension of the Structured Query Language (SQL), a standardized language for accessing and manipulating data in relational database management systems. T-SQL supplies several important capabilities to database developers:
- A set of Data Definition Language (DDL) commands that are used to create, define, and modify the actual databases on a SQL Server and the tables and data types they contain
- A set of Data Manipulation Language (DML) commands for reading and modifying data contained in the tables
- Control statements (IF-ELSE blocks, for instance) for managing execution flow
- Various operators and functions for computational tasks, such as mathematical and string operations.
For server-side programming tasks, developers group T-SQL commands into two primary types of functions: stored procedures and triggers. Stored procedures typically encapsulate complex data access or update operations (for example, handling all database updates associated with a business operation, such as hiring or firing an employee), whereas triggers “fire” when an attempt is made to change data in a database (triggers are most commonly used to maintain integrity and consistency across a database’s constituent tables).
Atlas Members have full access
Get access to this and thousands of other unbiased analyses, roadmaps, decision kits, infographics, reference guides, and more, all included with membership. Comprehensive access to the most in-depth and unbiased expertise for Microsoft enterprise decision-making is waiting.
Membership OptionsAlready have an account? Login Now
Not a member but want to see the full content? Contact us.