how to update or sync sql server database from second database in sql server 2012

I have two same database in two different offices. i want to update first office database from second office database when any change or upddate made in second office databse through lan or internet. is that possible. both database are exact same

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
I never tried this before but I would like to get a try when it's possible!

you could be interesting to look into Microsoft Sync Framework on how it can be used to build a synchronizable solution:

Microsoft Sync Framework

try look for the Database Synchronization section.
It looks like a feasible solution for Microsoft products.
HuaMin ChenProblem resolverCommented:
1. Have linked server to connect to other database
2. Use table trigger to update other tables remotely to add changes to remote database
Deepak ChauhanSQL Server DBACommented:
You can setup SQL server Transactional replication. Every transaction which commit at office A database will be replicated\ updated to Office B database.

For immediate syncing  >> Transactional Replication.
For Delay or Schedule sysncing >> Snapshot Replication.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.