MSSQL: Fix for the problem with the length of the numeric fields (#7249)