Try using CONVERT function with LENGTH parameter