Added support for getting the length of VARCHARs and the precision and scale of DECIMALs.