Add a Column To An Existing Table
If you need to add a column to an existing table with a default value:
ALTER TABLE YourTableName
ADD YourColumnName varchar(50)
DEFAULT ‘your default value’ WITH VALUES
Este explorador ya no se admite.
Actualice a Microsoft Edge para aprovechar las características y actualizaciones de seguridad más recientes, y disponer de soporte técnico.
If you need to add a column to an existing table with a default value:
ALTER TABLE YourTableName
ADD YourColumnName varchar(50)
DEFAULT ‘your default value’ WITH VALUES