How can I deploy cross database dependent objects using DLM automation with Teamcity?
deeps
Posts: 10 New member
I have a database with cross dependent objects(objects on different DB, but on same server). While deploying with Teamcity using Redgate DLM Automation Build as Runner type and Temporary database server as SQLLocal DB faces issues. How can I resolve this issue?
Tagged:
Best Answer
-
AlexYates Posts: 264 Rose Gold 2Point DLMA at a dev or test server that has all the dependent objects. It will build the database on that server, where all the dependencies will exists, and it will delete the database when done.Alex Yates
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn
Answers
I guess the question is will your references resolve properly from local DB to the dependent databases. (e.g. if you used three part names - db.schema.table) then those dbs will also need to exist on localdb.
DevOps Mentor and Coach
Director of DLM Consultants
Creator of Speaking Mentors
Microsoft Data Platform MVP
Friend of Redgate
Twitter / LinkedIn