Hello all,
I have a database that has a SQL connection to some tables stored on a SQL server. The database is updated at a certain frequency with information from these tables. Basically, several update/append queries are run in a certain order. The problem comes in when the SQL tables are unavailable. Certain queries will run, and certain ones (ones depenent upon the SQL connection) will fail. This is not a desirable scenario.
I would like to be able to "test" the SQL connection each time beofore executing the various update/append queires. Can someone please provide me some syntax or a method to do this? I'm not even sure where to start, so any help would be apprciated.
Thanks,
Eric
I have a database that has a SQL connection to some tables stored on a SQL server. The database is updated at a certain frequency with information from these tables. Basically, several update/append queries are run in a certain order. The problem comes in when the SQL tables are unavailable. Certain queries will run, and certain ones (ones depenent upon the SQL connection) will fail. This is not a desirable scenario.
I would like to be able to "test" the SQL connection each time beofore executing the various update/append queires. Can someone please provide me some syntax or a method to do this? I'm not even sure where to start, so any help would be apprciated.
Thanks,
Eric