Sql Server String Length Function Python