Solved

How to use TFS online for sql server 2012

Posted on 2014-09-08
3
133 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

867 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now