Sql Length Function Extract Data From Old