https://sqlrelease.com/connecting-python-3-to-sql-server-2017-using-pyodbc
Connecting Python 3 to SQL Server 2017 using pyodbc