Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to use TFS online for sql server 2012

Posted on 2014-09-08
3
138 Views
Last Modified: 2014-09-16
For my visual studio projects I am using VisualStudio.com ( cloud bases TFS service).
Now I am looking for some source control options for my database as well.

I need to know can I use this same service for my sql server 2012 as well?
Or is there any good service out there, I am more likely to have a cloud based service for it as well.
0
Comment
Question by:yadavdep
3 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 250 total points
ID: 40311185
Are you talking about storing your database content or schema?
If you use Entity Framework in your project, your database schema will be saved in source code files (edmx) and your database would be created or updated in case you modify the design.
0
 

Author Comment

by:yadavdep
ID: 40311283
I am talking about database schema, content is not important to me as it is under development.
0
 
LVL 28

Assisted Solution

by:Ryan McCauley
Ryan McCauley earned 250 total points
ID: 40312424
You can't put a database under source control in the same way - if you're using a database project in Visual Studio, you can put that in TFS and then you can always rebuild the database from scratch. However, if you make changes to your database in SSMS, those won't be in source control.

Alternatively, you could do something like set up an automatic scripting of your entire database schema to file, and then you can check that into TFS, which would get the job done too.
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question