About 544,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 CREATE TABLE, ALTER TABLE, DROP TABLE, TRUNCATE TABLE - W3Schools

    The CREATE TABLE command creates a new table in the database. The following SQL creates a table called "Persons" that contains five columns: PersonID, LastName, FirstName, Address, …

  3. CREATE OR ALTER statement in SQL Server

    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 …

  4. 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 …

  5. What do you do in SQL Server to CREATE OR ALTER?

    The year is 2009 and SQL Server does not have CREATE OR ALTER/REPLACE. This is what I do instead. WHERE ROUTINE_NAME = 'SynchronizeRemoteCatalog' . AND …

  6. SQL CRUD: CREATE, READ, UPDATE, DELETE, DROP, and ALTER in SQL

    Jan 19, 2025 · CREATE: Creating new table or adding new records to a database using the INSERT statement. READ: Retrieving records from a database using the SELECT statement. …

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

    Feb 1, 2025 · By the end, you‘ll master the CREATE, ALTER, and DROP table operations with T-SQL examples for each! The CREATE TABLE statement allows you to define a new database …

  8. How to CREATE, ALTER, RENAME, and DROP Tables in SQL

    How to CREATE, ALTER, RENAME, and DROP Tables in SQL Designing and managing your tables is just as important as querying it. Design and management of your tables include …

  9. 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 …

  10. SQL ALTER TABLE Statement (With Examples) - Programiz

    In SQL, the ALTER TABLE command is used to modify the structure of an existing table like adding, deleting, renaming columns, etc. ADD phone varchar(10); Here, the SQL command …

Refresh