Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 161
  • Last Modified:

How to use TFS online for sql server 2012

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
yadavdep
Asked:
yadavdep
2 Solutions
 
Jaime OlivaresSoftware ArchitectCommented:
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
 
yadavdepAuthor Commented:
I am talking about database schema, content is not important to me as it is under development.
0
 
Ryan McCauleyDatabase and Reporting ManagerCommented:
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now