Database/SQL Server
[DB] SQL Server에서 ALTER TABLE ADD Column 부하
HyoSeong
2023. 1. 4. 22:10
반응형
https://www.sqlshack.com/sql-server-alter-table-add-column-overview/
SQL Server ALTER TABLE ADD Column overview
This article explores SQL Server ALTER TABLE ADD Column statements to add one or multiple columns to a table. We will also understand the impact of adding a column with a default constraint along the way.
www.sqlshack.com
요약: SQL Server에서 ALTER TABLE ADD Column실행 시 default value를 지정할 경우, 실제 데이터의 변화는 없다.
(Default value를 모든 데이터에 저장하는 것이 아니라, Metadata로써 가지고 있기 때문)
반응형