foreign keys - SQL Server move data between databases -


we have requirement have move data between different database instance on regular basis. (for e.g. customers willing pay more better performance). not going 1 off.

the database tables has referential integrity. there way in can done without rewriting sql script (or other method) every time migrate customers data?

i came across how move data between multiple database's table while maintaining foreign-key relationships/referential integrity?. appears have write script every time migrate data (please correct me if misunderstood answer on thread).

thanks

edit:

  • both servers using sql server 2012 (same version). azure sql server database.
  • they not linked (no firewall between them)
  • we transferring data, not whole database. customers opted pay more.
  • the schema same in both databases.

preyash - please see documentation on split-merge tool. split-merge tool enables move data between databases, have described, based on sharding key (e.g., customer id). 1 modification need application add shard map (i.e., database understand global state of customers resides in databases).


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -