- 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
-
-
-
hmmm bit newbie error thatOriginally posted by MrMark View PostThe best sql update issue is where you update a (few) record(s) based on records from another table. If you're not careful you can update all the records.
would not the use of a WHERE statement solve those problems?Comment
-
whats the difference between a noobie and a noob ?
(\__/)
(>'.'<)
("")("") Born to Drink. Forced to WorkComment
-
why didnt you cut and paste the code into here rather than type it out? Is it to protect your client. eg.
UPDATE mafia_hitlist_2009 etc.Comment
-
I did something similar in my Access 97 days. Set performance tests running all night with ...where POST_CODE = 'postcode'
instead of ...where POST_CODE = [postcode]
but I was only on about a tenner an hour.Comment
-
I'm working on the IR35 database for HMR&COriginally posted by singhr View Postwhy didnt you cut and paste the code into here rather than type it out? Is it to protect your client. eg.
UPDATE mafia_hitlist_2009 etc.
UPDATE IT_contractors_to_investigateComment
-
Originally posted by DimPrawn View PostI'm working on the IR35 database for HMR&C
UPDATE IT_contractors_to_investigate
A huge collective sigh of relief just went up from CUK as they realised you're doing the coding on this project
Hard Brexit now!
#prayfornodealComment
-
If I ever see in a SQL Statement, code to the effect ofOriginally posted by MrMark View PostIt's a surprisingly good name for a function call!
UPDATE tableName
SET col1 = etc(@col1),
col2 = @col2,
col3 = @col3
WHERE primaryKey = primaryKey;
Both You and DP are gonna get the blameComment
-
I'll have it completed before the next millenium.Originally posted by sasguru View PostA huge collective sigh of relief just went up from CUK as they realised you're doing the coding on this project

Comment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Burnham's housing vision vs. Starmer's home-buying reforms: what it means for your contractor mortgage Today 00:59
- In Khalil v Innovate Transport, a limited company contractor wasn’t a worker and was on £2.30 — not £230 Yesterday 07:58
- Andy Burnham is PM: 5 new IT policies set to shape UK tech and its contractors Jul 20 06:29
- Taxed on money I haven't earned yet? Bold move, HMRC Jul 17 08:36
- The Fair Work Agency has got zero hours in its sights. Do you? Jul 16 08:44
- Cookie Policy Jul 15 11:50
- Cloned again: an umbrella company founder's warning on fraud, JSL and Companies House Jul 15 07:47
- How is JSL bedding in for contractor umbrella companies, 100 days in? Jul 14 07:45
- IT contractor demand cools in June 2026 amid UK heatwave Jul 13 08:18
- How could zero hours contract reform create unexpected problems for contractors? Jul 8 06:40



Comment