character to numeric in collected SQL data