View Single Post
Old 04-12-2009, 05:39 PM   #1 (permalink)
BobLewiston
 
Junior Techie

Join Date: Nov 2008

Posts: 79

BobLewiston is on a distinguished road

Default determining if an SQL database exists, etc.

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.
BobLewiston is offline