• This function determines the actual maximum length for a given SQL field based on the base type and the length specified in the schema. For example, for a varchar(50) field, the length is 50, for an nvarchar(50) field, the length is 50/2 = 25

    Parameters

    • sqlBaseType: string
    • sqlLength: number

    Returns number