We have a user in our support team who is constantly forgetting his WHERE Clauses in his SQL statements.
He's had all of his access stripped, and for the mean time I've having to check and execute all of his SQL for him. Even though he knows I'm going to be checking for WHERE clauses, he still managed to forget one when sending an UPDATE over to me.
What would you do in this situation? He's worked with us for about a year, passed his probation etc.. There have been talks of disciplinary action, and we're having a meeting to discuss tomorrow.
I've never really delved into the world of triggers, but would it be possible to set up a for insert / delete trigger that checks for a WHERE?
Any other options?
He's had all of his access stripped, and for the mean time I've having to check and execute all of his SQL for him. Even though he knows I'm going to be checking for WHERE clauses, he still managed to forget one when sending an UPDATE over to me.
What would you do in this situation? He's worked with us for about a year, passed his probation etc.. There have been talks of disciplinary action, and we're having a meeting to discuss tomorrow.
I've never really delved into the world of triggers, but would it be possible to set up a for insert / delete trigger that checks for a WHERE?
Any other options?