3
Answers

determining if an SQL database exists, etc.

Bob Lewiston

Bob Lewiston

15y
7.2k
1

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)