Answers for "sql edit table column"

SQL
15

sqlserver add column to table

ALTER TABLE dbo.doc_exa 
ADD column_b VARCHAR(20) NULL, 
	column_c INT NULL ;
Posted by: Guest on April-08-2020
0

alter table query sql server change column

sp_rename 'table_name.old_column_name', 'new_column_name', 'COLUMN';
Posted by: Guest on February-17-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language