In SQL SERVER DB, I need to change the column baseColumnand the computed column upperBaseColumn. upperBaseColumnhas an index on it.
This is what the table looks like:
create table testTable (baseColumn varchar(10), upperBaseColumn AS (upper(baseColumn))
create index idxUpperBaseColumn ON testTable (upperBaseColumn)
Now I need to increase the length of the column as baseColumnwell as upperBaseColumn.
What is the best way to do this?
source
share