I have some function to execute queries in my database and in that functions I have pyodbc.connect().
What happens if I don't close this connection and call other function that have pyodbc.connect() again? It will ignore the function because the connection is already open?
If it works the way i'm thinking, I want to do it to prevent the connection open and close everytime a function is called
Ps: I know it is not the better way to do it, I want to know only if it works how I'm thinking