Member Junction
    Preparing search index...

    Function SQLMaxByteLength

    • Byte cap of a binary column, or 0 when it has none. varbinary(MAX) reports -1 and PostgreSQL bytea reports no length. SQL Server image reports 16 in sys.columns.max_length, which is the size of its text pointer rather than a limit, so it is unbounded here too.

      Parameters

      • sqlBaseType: string
      • sqlLength: number

      Returns number