I have a program that queries a queue table every 2 seconds looking for new entries to process (queue table never has more than a handful of records in it at anytime). I've read that leaving SqlConnections open is typically poor form but most of the references are talking about code that isn't hitting the database on such a rapid pace.
Question:
In a loop where a database is polled on a short duration (every 2 seconds for example), would it be better to leave the database connection open or re-open it every query.