• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Source Control for Databases - Nightmares with TFS

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Source Control for Databases - Nightmares with TFS

    TFS is driving me and the other developers absolutely mad.

    Over the years I have worked with various versions of Visual Source Safe (VSS) and several incarnations of SVN. I have enjoyed using them and they have allowed me to deliver outstanding solutions to companies.

    Alas, come TFS 2013 the destroyer of all expert Database and Data Warehouse masters. I honestly get the idea behind it and how it is supposed to be the "proper way" of doing database deployment. But how much easier, quicker and endlessly more efficient was it to be able to open up your Drop/Create statements from file straight into Management Studio, do all of your coding using nifty tools such as Redgates SQL Prompt and then save the file thereafter checking it in.

    Now editing all of the objects is a real frustration as it has to go and do all it's checks and do a full deployment. Not only that but I have to move code in and out of Management Studio. After several discussions we are all in agreement that for the size of team and the development approaches and methodology, TFS is reaping absolute havoc on us.

    Has anybody else had a similar problem and what was your solution?

    #2
    Hand your notice in and leave?
    'CUK forum personality of 2011 - Winner - Yes really!!!!

    Comment


      #3
      Originally posted by northernladuk View Post
      Hand your notice in and leave?
      If only it were that simple with TFS..... I'd have ditched it for another Source Control Editor in a heart beat ;-)

      Comment


        #4
        Why is TFS doing a full deployment on check-in? I think you need to decide on your build and deployment approach...
        merely at clientco for the entertainment

        Comment


          #5
          You can go into the job and change the paramaters so that it doesn't do all the checks, its not very intuitive, I think a double negative to get the right setting "don't do not do the checks" kinda thing, I will have a dig through my old notes and try and find the right config items
          Originally posted by Stevie Wonder Boy
          I can't see any way to do it can you please advise?

          I want my account deleted and all of my information removed, I want to invoke my right to be forgotten.

          Comment


            #6
            Originally posted by SimonMac View Post
            You can go into the job and change the paramaters so that it doesn't do all the checks, its not very intuitive, I think a double negative to get the right setting "don't do not do the checks" kinda thing, I will have a dig through my old notes and try and find the right config items
            It's more to do with the pain of editing objects and developing between management studio and VS. I prefer to do all development in SSMS. VS should just be used for source control and checkin/check out/diff functionality.

            Comment


              #7
              Originally posted by NorthWestPerm2Contr View Post
              It's more to do with the pain of editing objects and developing between management studio and VS. I prefer to do all development in SSMS. VS should just be used for source control and checkin/check out/diff functionality.
              I agree it's a pain that source control is not integrated into SSMS, probably like you I checkout/in using VS then mostly work in SSMS. If I'm adding new sprocs, tables then I tend to work in SSMS then in VS do a compare and update the database project with the new changes. Its not pretty but works fairly well.

              The good thing is we can now do deployments and be confident that the code going onto production is the code that's been tested.

              Comment


                #8
                Originally posted by woohoo View Post
                I agree it's a pain that source control is not integrated into SSMS, probably like you I checkout/in using VS then mostly work in SSMS. If I'm adding new sprocs, tables then I tend to work in SSMS then in VS do a compare and update the database project with the new changes. Its not pretty but works fairly well.

                The good thing is we can now do deployments and be confident that the code going onto production is the code that's been tested.
                I have found a solution, it costs money but it's well well worth it. Part of the redgate toolbelt. I have already invested in SQL Prompt and this one now makes development on Databases a breeze. You wonder why Microsoft can't do it's job properly and requires 3rd parties to come in and show it how it is done.

                Comment


                  #9
                  Originally posted by NorthWestPerm2Contr View Post
                  I have found a solution, it costs money but it's well well worth it. Part of the redgate toolbelt. I have already invested in SQL Prompt and this one now makes development on Databases a breeze. You wonder why Microsoft can't do it's job properly and requires 3rd parties to come in and show it how it is done.
                  Tell me more?

                  Comment


                    #10
                    Originally posted by woohoo View Post
                    Tell me more?
                    connects Management Studio directly to TFS, overlays SSMS with source control features. I should be a salesman for Redgate (If only they matched my day rate!)

                    SQL Source Control - download a free trial for a month. I will be buying it at the end of the trial and it only took me 1 hour to realise that!

                    Comment

                    Working...
                    X