sql server - Deploying database changes to a firewalled environment -


our situation follows: have dev environment (local machine) on develop against localdb instance. have test environment within our network has own test database.

when deploy (asp.net) application client, we're using tfs build server generate web deployment package send them can import package in iis in acceptance , production environment. iis , database behind firewall (bigcorp policies unfortunately) can't use msdeploy directly push our code our build server environment.

at first thought letting ssms generate change scripts , bundle them deployment package executed manually, couldn't find way include them in deployment package automatically (which kind of destroys point of having build server) thought using database project can build , creates change scripts us, deployment packages code.

i have few questions this:

  1. can generate incremental change scripts when want deploy 'offline' environment? how do this? doesn't mean need database connection remote server can compare local server?
  2. how find out changed? @ local database (the test database probably) during build process see has changed since last time? or changes stored in project itself?
  3. can still develop database changes in ssms, or need make them in visual studio in database project them picked up?

can describe workflow works in setting , i'm trying do?

maybe needless say, we're using tfs 2013 visual studio 2013 , sql server 2014.

  1. yes, can use database projects in vs produce dacpacs represent database.
  2. at deploy time compare dacpac target database , create diff script on fly
  3. use vs. sceptical @ first prefer now.

http://www.dotnetcatch.com/2016/02/10/deploying-a-database-project-with-msdeploy/


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -