sql - How do you change a scalar function used by a computed column -


i have persisted computed column uses scalar function assign data it. noticed can't change function once it's used column. in test environment, deleted , re-added column. once in production, won't option. table has 24 million rows , no 1 want drop , re-add column.

is there way change function without dropping column? if function calls function, functions in chain not allowed changed?

i realize doing can create inconsistencies in existing data versus data being calculated going forward. don't care that.

thanks, kevin


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -