About 16,900,000 results
Open links in new tab
  1. SQL ALTER TABLE Statement - W3Schools

    The ALTER TABLE statement is used to add, delete, or modify columns in an existing table. The ALTER TABLE statement is also used to add and drop various constraints on an existing …

  2. SQL Server ALTER TABLE ALTER COLUMN By Examples

    In this tutorial, you will learn how to use the SQL Server ALTER TABLE ALTER COLUMN statement to modify a column of a table.

  3. SQL ALTER COLUMN - GeeksforGeeks

    Apr 5, 2024 · In SQL, the ALTER COLUMN statement is used to modify or change the definition of an existing column in a table. It allows you to change the data type, size, nullability, default …

  4. Modify columns - SQL Server | Microsoft Learn

    Feb 4, 2025 · This article shows you how to modify columns using SQL Server Management Studio and Transact-SQL.

  5. How to ALTER multiple columns at once in SQL Server

    Jan 24, 2015 · Using copy& paste + window function under SSMS or even Notepad++, you can list your columns and new types or constraints, and prepend the ALTER TABLE x ALTER …

  6. How to Use the ALTER TABLE Statement in SQL - W3Schools

    You can use the ADD keyword to add a new column to the table, the MODIFY keyword to modify an existing column, and the DROP keyword to delete a column. The column_name is the …

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

    Sep 19, 2022 · In this article, we look at how to make changes to SQL Server table structures using T-SQL commands to add, delete and change columns in a table.

  8. SQL ALTER TABLE - GeeksforGeeks

    Jan 30, 2025 · The ALTER TABLE statement in SQL is used to modify an existing table structure in a database without losing any data. It allows you to add, remove, or modify columns, …

  9. Altering column size in SQL Server - Stack Overflow

    The syntax for modifying the column size is. ALTER table table_name modify COLUMN column_name varchar (size);

  10. Change the Data Type of a Column in SQL - Baeldung

    Aug 20, 2024 · In this article, we explored how to change a column’s data type across different database management systems: MySQL, PostgreSQL, and SQL Server. Each system offers …

  11. Some results have been removed