Bob Lewiston

Bob Lewiston

  • NA
  • 88
  • 0

determining if an SQL database exists, etc.

Apr 12 2009 5:30 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.


Answers (3)