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

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "Just spent hours chasing down a bug"

Collapse

  • scotspine
    replied
    Originally posted by AtW View Post
    Stick to VB.NET...
    eh?

    Leave a comment:


  • dinker
    replied
    Post it on http://thedailywtf.com/Default.aspx

    Leave a comment:


  • Churchill
    replied
    Originally posted by DimPrawn View Post
    Not one educated under New Labour.

    HTH
    Why bother spending all that money on education when you can pay Bob and his cousins 25 quid a week to do the job?

    Leave a comment:


  • DimPrawn
    replied
    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

    Leave a comment:


  • cupidstunt
    replied
    Originally posted by sasguru View Post
    Like AtW?
    Churchill

    Leave a comment:


  • sasguru
    replied
    Originally posted by PRC1964 View Post
    spotty faced junior coder. .
    Like AtW?

    Leave a comment:


  • Churchill
    replied
    That, ladies and gentlemen, is not "coding" it is SQL. An educated monkey could write it.

    Leave a comment:


  • PRC1964
    replied
    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.

    Leave a comment:


  • singhr
    replied
    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

    Leave a comment:


  • EternalOptimist
    replied
    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


    Leave a comment:


  • swamp
    replied
    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

    Leave a comment:


  • HairyArsedBloke
    replied
    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.

    Leave a comment:


  • MrMark
    replied
    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.

    Leave a comment:


  • DimPrawn
    replied
    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
    I'll have it completed before the next millenium.

    Leave a comment:


  • Weltchy
    replied
    Originally posted by MrMark View Post
    It's a surprisingly good name for a function call!
    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

    Leave a comment:

Working...
X