About 25,000 results
Open links in new tab
  1. ALTER TABLE (Transact-SQL) - SQL Server | Microsoft Learn

    ALTER TABLE modifies a table definition by altering, adding, or dropping columns and constraints. ALTER TABLE also reassigns and rebuilds partitions, or disables and enables constraints and triggers.

  2. SQL Server ALTER TABLE - GeeksforGeeks

    Dec 12, 2023 · In this article, we will look at the ALTER TABLE, and DDL command to make changes to an existing Table Column in detail. There are 3 different changes we can make to a Column in the SQL Table with the ALTER COLUMN option in the ALTER TABLE command. We can change the Table Column Size. We can change the Table Column Datatype.

  3. How to ALTER TABLE in SQL Server

    Feb 14, 2024 · In this SQL Server tutorial, you will learn how to ALTER TABLE in SQL Server. You will understand the ALTER TABLE statement and why you should use it. Then, you will learn how to add a new column to an existing table, modify the column’s datatype, and drop the existing column of the table.

  4. CREATE OR ALTER statement in SQL Server - MSSQLTips.com

    Dec 27, 2024 · The CREATE OR ALTER statement works with specific types of database objects such as stored procedures, functions, triggers and views. You do not need to add extra code to check if the object exists in the SYSOBJECTS system table …

  5. SQL Server CREATE, ALTER, DROP Table [T-SQL Examples]

    Jun 28, 2024 · In this tutorial, you will learn How to Create a Table, Alter Table, Drop (Delete) Table in SQL Server using T-SQL with Examples.

  6. SQL ALTER TABLE – Modifying Table Structure in SQL Server

    Mar 13, 2025 · Using the T-SQL ALTER TABLE statement you can add new columns, delete columns, change the data type of existing columns, or create indexes or constraints. ALTER TABLE can also reassign...

  7. How to modify a table in SQL Server using ALTER TABLE - SQL

    Nov 23, 2023 · To modify a SQL Server table with a script, use the ALTER TABLE statement to update columns or table like columns size and constraints.

  8. SQL Server: ALTER TABLE Statement - TechOnTheNet

    This SQL Server tutorial explains how to use the ALTER TABLE statement in SQL Server (Transact-SQL) to add a column, modify a column, drop a column, rename a column or rename a table with syntax and examples.

  9. SQL Server Alter table - SQL Server tutorial

    In SQL Server, the ALTER TABLE statement is a powerful command that allows database administrators and developers to modify the structure of existing tables without recreating them. This flexibility is essential for adapting databases to evolving requirements, fixing issues, or optimizing performance.

  10. SQL ALTER TABLE to Add, Delete and Change Columns in a Table

    Sep 19, 2022 · Microsoft supports the SQL ALTER TABLE syntax to help the database administrator make changes to a table. Today, we will explore the three main tasks: add a column, change a column, and delete a column in this SQL Tutorial.

Refresh