Lesson Learned #355: Testing the connection latency from Python to Azure SQL Database
In some situations, we need to test the connectivity latency using Python. Here you could find a small script about how to do it.
import pyodbc
import time
def ConnectToTheDB():
try:
print(‘Connecting to the DB’)
… Continue reading Lesson Learned #355: Testing the connection latency from Python to Azure SQL Database
