I want to manage SQL Server dynamically, that is through code I wan to scan SQL Server for available databases than I want to create new database, access older database, alter it, and insert data into database depending upon table schema what is better approach what should I use?
i heard name of nhibernate, SQL Server Management Object (SMO), Smss (SQL Server Management Studio) but i do not know more than their names
please guide me with pros and cons