Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Switching DB used in View
Message
De
10/03/2005 05:20:58
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Switching DB used in View
Divers
Thread ID:
00994340
Message ID:
00994340
Vues:
66
Hi,

I am building views in a database that reference a different database. (eg 'Select * from DatabaseA.dbo.table1')

At some point in the future I am going to need to switch to another (identical) database. Obviously I don't want to have to modify all the views - is there a strategy I can adopt to avoid 'hard-coding' the db name ?

TIA,
Viv
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform