Answers for "adding a column in sql"

SQL
10

sql server alter column

ALTER TABLE table_name 
ALTER COLUMN column_name new_data_type(size);
Posted by: Guest on June-01-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 "adding a column in sql"

Code answers related to "SQL"

Browse Popular Code Answers by Language