Issue #3251551 by Beakerboy: Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]
requested to merge issue/sqlsrv-3251551:3251551--drupalcoredatabasedatabaseexceptionwrapper-sqlstate42000 into 4.2.x
Do not create indexes on varchar(max). The max_length is -1, which is tripping up the index size calculations.