Red Gate forums :: View topic - Cross database scripts?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Packager Previous Versions
SQL Packager Previous Versions forum

Cross database scripts?

Search in SQL Packager Previous Versions forum
Post new topic   Reply to topic
Jump to:  
Author Message
willgart



Joined: 07 Feb 2008
Posts: 6

PostPosted: Thu Feb 07, 2008 3:42 pm    Post subject: Cross database scripts? Reply with quote

Hi,

in our solution we deploy 2 databases.
the second database use views where we merge data from the first database
select ... from DB1.dbo.table inner join dbo.currenttable ....

but the name of the databases can change during my deployment process (ie "TestDB1" "QADB1", "ProdDB1" etc...) so my views must change too!

today I'm using my own scripts to deploy this and variables. So the variables allows me to change the name of the DB1 database to reflect the real name.

How it's possible to do this using the packager tool?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group