Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
CLages
Posting Yak Master
116 Posts |
Posted - 2005-10-08 : 11:04:35
|
| Hi folksI have a System working fine, evething is ok.The connection is thru ODBCthe name of Database is DECThis System is running in 15 Clients (15 differents Companies)Inside de Source Code i Have alwaysSELECT * FROM Dec.Dbo.Tablex or DELETE FROM Dec.Dbo.Tablex or UPDATE Dec.Dbo.Tablex Some time one of this Clients Reports some Erros orhe wants change somethingThen in my Computer I have to do1 - Detach a Dababase i am using whose name is DEC too 2 - Attach the Database of this Clients (Name DEC)3 - I check what he wantsif I have to Support other Client i have to do the samething againthe question isHow can i have attached all Clients Database, using the same Source Code?one of option i found is change my source Code toSELECT * FROM Dbo.Tablex (without Database Name)and i will use a Database name that is in ODBC configuration.TksC. LagesFrom Rio de Janeiro |
|
|
Kristen
Test
22859 Posts |
Posted - 2005-10-09 : 03:34:22
|
| WouldUSE MyDatabaseNameSELECT * FROM Dbo.Tablexbe of any use to you?Kristen |
 |
|
|
AjarnMark
SQL Slashing Gunting Master
3246 Posts |
Posted - 2005-10-10 : 18:38:05
|
| If you go with Kristen's approach, then, rather than detaching and attaching all these databases, you can just RESTORE your clients database to a different database name on your system while working on it.---------------------------EmeraldCityDomains.com |
 |
|
|
|
|
|