Python Time String To Datetime Sql Example Update Query With Case