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.
yadavdepAsked:
Who is Participating?
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.

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

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
yadavdepAuthor Commented:
I am talking about database schema, content is not important to me as it is under development.
0
Ryan McCauleyData and Analytics 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
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.