1
Reply

Switch Database Connection

Aniket Yadav

Aniket Yadav

Dec 7 2010 1:17 AM
1.6k
Hello,

I have one query.

I have one Master database in which i have the company id, password and the name of the connection string for other database.
For Eg:

Master Database:

CompanyID    Password    ConnStr
  ABC0001        ******    MyNewConn1
  ABC0002        ******    MyNewConn2


My question is can i switch from one database to another database taking the connection string from the master database and using that connection string for connecting to other database under same server?


Please Help Me....

Answers (1)