Apart from Exception as err: print(Exception, err) # I would like to print the whole traceback here, # not just the exception title and details You can consult with the subsequent one-way links for connecting to SQL server and storing the contents in tables: Here is the starter code for https://freegovernmentphone53209.blogdosaga.com/36925556/a-simple-key-for-free-phone-low-income-unveiled