Следующий код заменяет 0 целое на False и нулевое на None: -
with open(tablename, "r") as table:
tname = table.read().splitlines()
sqlConnection = pymssql.connect(host_LZ,username_LZ,password_LZ,src_database)
cursor = sqlConnection.cursor()
for t in tname:
sqlst = "Select * from %s" % t
cursor.execute(sqlst)
data = cursor.fetchall()
print("data : ",data)