April 22, 2014

Subscribe

Change Column Length via Powershell

by Scott Newman

Changing the length of a column is not as straightforward as you would think. There is no .Length property on the smo column object itself, rather you have to set the column.property[‘Length’].value to whatever length you are setting.