OK so you just made a SQL database somewhere... A VM, in the cloud, whatever. Then you made an app server somewhere else and you want to make sure the app server vm can actually access the database. This little script tests the ability to connect, do some basic CRUD, then cleans up after itself.
This is helpful if you run into problems and you need to rule out connectivity to the database.
You need Python3 and pymssql to make it work.