Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suggestions for switching database
Message
From
07/09/2008 23:26:34
Bill Oeftering
Mainstreet Computers, Inc.
Belleville, Michigan, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Suggestions for switching database
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01345646
Message ID:
01345646
Views:
48
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
Map
View

Click here to load this message in the networking platform