Sql Server String Length Function Python Questions