SQLServer Fügen Sie die Spalte zur Tabelle hinzu
ALTER TABLE dbo.doc_exa
ADD column_b VARCHAR(20) NULL,
column_c INT NULL ;
MzanziLegend
ALTER TABLE dbo.doc_exa
ADD column_b VARCHAR(20) NULL,
column_c INT NULL ;
ALTER TABLE table
ADD COLUMN column VARCHAR (255) NOT NULL AFTER column;
ALTER TABLE table_name
ADD column_name datatype;
ALTER TABLE users AUTO_INCREMENT=1001;
-- For More Tutorial, visit NAYCode.com
Alter Table [Table Name] Add [Column Name] [datatype]
-- For More Tutorial, visit NAYCode.com
Alter Table Customers Add Cust_City navarchar(50)
Alter Table Customers Add Cust_State navarchar(50)