MDL-41586 libaries: Fix issues with scale in sqlsrv libraries

0 is a valid value
null is the default scale we set in other DBs