MDL-41586 libraries: Fix scale default to null for mssql