def _varchar_length(max_length: int) -> str:
    """
    MS-SQL uses '-1' to indicate VARCHAR(MAX)
    This returns "MAX" when length is '-1'; otherwise length
    """
    if max_length < 0:
        return "MAX"
    return str(max_length)