I am writing a program that connects to a database also used by another different program so I need to make a quick consult then close the database and repeat this process e