PDA

View Full Version : determining if an SQL database exists, etc.


BobLewiston
04-12-2009, 11:31 PM
Could someone please give me the simplest possible C# code snippets / SQL queries to determine whether:

* a given SQL database exists,
* a given existing SQL database is accessible, and
* a given table exists within a given existing SQL database?

Thanks for whatever help anyone can provide.