I have a web2py API application that I recently upgraded from python 2.7.x to python 3.6.3. The API functions queries a Microsoft SQL database.
When I execute a SQL s