Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Is there a performance issue when creating columns in one command or in several ?

$
0
0

Hi,

1) I need to create 3 nullable columns in a very huge table. Is there a difference, from performance point of view, if I perform it in on SQL statement or in 3 diffrent ones (one ALTER statemet for each column) ?

2) I need to create 3 mandatory columns with default value in a very huge table. Is there a difference, from performance point of view, if I perform it in on SQL statement or in 3 diffrent ones (one ALTER statemet for each column) ?

The table is clustered.


Regards, Asi Pesa


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>