I need to add a column to my SQL Server table. Is it possible to do so without losing the data, I already have?
SQL Server
Use this query:
ALTER TABLE tablename ADD columname DATATYPE(size);
And here is an example:
ALTER TABLE Customer ADD LastName VARCHAR(50);