Hi,
What I would like to do is change the data type a column [DefinitionCategoryID] to NUMERIC when it is equal to 1 and to VARCHAR when it is equal to 2.
I don't mind which task accomplishes this but I am trying to use the derived editor and have this code which obivously doesn't work;
([DefinitionCategoryID] == "1" ? (DT_NUMERIC)[DefinitionCategoryID] : [DefinitionCategoryID] == "2" ? (VARCHAR)[DefinitionCategoryID])
Can the derived editor do this or is there a better way?
Thanks