- 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
- National Minimum Wage increase: operational for most umbrella staff, but brace for impact Mar 19 09:13
- Contractors, Joint & Several Liability’s unintended consequences are already piling up Mar 18 07:29
- Contractors, did you know self-employed DBS Checks have changed, for the better? Mar 17 07:56
- Offshoring harms already fraught IT contractors. Here’s what ministers can do Mar 16 07:57
- Dividends in 2026/27: an expert’s explainer for contractors Mar 13 07:20
- Dividends in 2026/27: an expert’s explainer for contractors Mar 13 07:04
- Contracting Awards 2026 opens for entries — with new AI category Mar 12 07:26
- Contracting Awards 2026 opens for entries — with new AI category Mar 12 07:26
- Contractors, beware these four traps in the UK’s Statutory Residence Test Mar 11 08:18
- Contractors, beware these four traps in the UK’s Statutory Residence Test Mar 11 00:23



Comment