General information
Category:
The Mere Mortals .NET Framework
Title:
Suggestions for switching database
Environment versions
Network:
Windows 2003 Server
mm 2.4 mssql 2005
I have a web service that must insert data into the same table in multiple databases. All databases are on the same sql server. I know that I can create multiple connection strings and use the databasekey to select the proper db but new databases are added often and this makes for a maintenence a nightmere. I tried execnonquery("use mydatabase") then and saved a new row but it inserted into the db specified in the connection string. Any suggestions on how to best do this ?
Thanks,
Bill
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only