Answers for "how to add column to sql table"

SQL
13

alter table add column

ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
Posted by: Guest on April-08-2020
0

Add a new column into table

ALTER TABLE table ADD [COLUMN] column_name;
Posted by: Guest on April-28-2021
0

T-SQL Add Column

ALTER TABLE sales.quotations 
    ADD 
        amount DECIMAL (10, 2) NOT NULL,
        customer_name VARCHAR (50) NOT NULL;
Code language: SQL (Structured Query Language) (sql)
Posted by: Guest on August-10-2021
0

add new column in table

ALTER TABLE vendors
ADD COLUMN phone VARCHAR(15) AFTER name;
Code language: SQL (Structured Query Language) (sql)
Posted by: Guest on May-23-2021

Code answers related to "how to add column to sql table"

Code answers related to "SQL"

Browse Popular Code Answers by Language