Hi all
We had a small problem when an ASP web page had a missing 'where' statement
and updated all the records in the table. Luckily we could retrieve all the
data from the backups.
How do you guys prevent this from happening in your large systems. Is there
some teqnique for controlling this, I would imagine if you had thousands of
records in a table and some one made a programming error, then the
consequences would be disastrous.
is there a setting within SQL Server that could force SQL update commands to
be limited to a criteria and if no criteria is supplied then reject the
command
thanks in advance
Andy
We had a small problem when an ASP web page had a missing 'where' statement
and updated all the records in the table. Luckily we could retrieve all the
data from the backups.
How do you guys prevent this from happening in your large systems. Is there
some teqnique for controlling this, I would imagine if you had thousands of
records in a table and some one made a programming error, then the
consequences would be disastrous.
is there a setting within SQL Server that could force SQL update commands to
be limited to a criteria and if no criteria is supplied then reject the
command
thanks in advance
Andy
Comment