The ConvertToCategorical function converts specified columns from any numeric type to VARCHAR. This operation is necessary when columns contain numbers that represent codes or categories (for example, billing codes or zip codes) and you want to input them to another function as categorical data.