• 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!

Just spent hours chasing down a bug

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

    #21
    Originally posted by original PM View Post
    hmmm bit newbie error that

    would not the use of a WHERE statement solve those problems?
    You fell into the trap. A bit misleading the way I put it though - it's more to do with the way different vendors treat null values.
    Speaking gibberish on internet talkboards since last Michaelmas. Plus here on Twitter

    Comment


      #22
      Originally posted by DimPrawn View Post
      Been going round in circles.

      In the old days before senility and long term alcohol abuse I would have spotted that in seconds.

      Welcome to my world.
      How did this happen? Who's to blame? Well certainly there are those more responsible than others, and they will be held accountable, but again truth be told, if you're looking for the guilty, you need only look into a mirror.

      Follow me on Twitter - LinkedIn Profile - The HAB blog - New Blog: Mad Cameron
      Xeno points: +5 - Asperger rating: 36 - Paranoid Schizophrenic rating: 44%

      "We hang the petty thieves and appoint the great ones to high office" - Aesop

      Comment


        #23
        Originally posted by DimPrawn View Post
        I'm working on the IR35 database for HMR&C
        UPDATE IT_contractors_to_investigate
        SET all_tickety_boo = true
        WHERE cuk_username IN ('swamp')



        HTH
        Cats are evil.

        Comment


          #24
          Originally posted by swamp View Post
          UPDATE IT_contractors_to_investigate
          SET all_tickety_boo = true
          WHERE cuk_username IN ('swamp')



          HTH
          Insert (@bargepole)
          INTO Primarolo.@rsehole
          where @bargepole.greasy
          = true


          (\__/)
          (>'.'<)
          ("")("") Born to Drink. Forced to Work

          Comment


            #25
            Originally posted by sasguru View Post
            A huge collective sigh of relief just went up from CUK as they realised you're doing the coding on this project

            Comment


              #26
              Originally posted by Weltchy View Post
              If I ever see in a SQL Statement, code to the effect of

              UPDATE tableName
              SET col1 = etc(@col1),
              col2 = @col2,
              col3 = @col3
              WHERE primaryKey = primaryKey;

              Both You and DP are gonna get the blame
              Sadly, now that it's been posted here it will be picked up by Google and copied by thousands of spotty faced junior coders. Expect to see it turn up all over the place.

              Comment


                #27
                That, ladies and gentlemen, is not "coding" it is SQL. An educated monkey could write it.

                Comment


                  #28
                  Originally posted by PRC1964 View Post
                  spotty faced junior coder. .
                  Like AtW?
                  Hard Brexit now!
                  #prayfornodeal

                  Comment


                    #29
                    Originally posted by sasguru View Post
                    Like AtW?
                    Churchill

                    Comment


                      #30
                      Originally posted by Churchill View Post
                      That, ladies and gentlemen, is not "coding" it is SQL. An educated monkey could write it.
                      Not one educated under New Labour.

                      HTH

                      Comment

                      Working...
                      X