|
Checking for the existence of a particular record in a database before
performing an UPDATE/DELETE on it is just good programming practice. An
UPDATE/DELETE by definition, and in comparison to an INSERT, assumes that the
record already exists.
Think of it this way... If someone asked you to take their car over to the
car wash for them, but they didn't actually own a car; how likely is it that you
would be able to get their car washed?
Matthew
|
Title: Message
- [Boston.pm] DBI weirdness Joel Gwynn
- Re: [Boston.pm] DBI weirdness Matthew Brooks
- Re: [Boston.pm] DBI weirdness Dave Turner
- Re: [Boston.pm] DBI weirdness David Cantrell
- Re: [Boston.pm] DBI weirdness Aaron Sherman
