Solved

How to use TFS online for sql server 2012

Posted on 2014-09-08
3
144 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
[X]
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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

691 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