阅读背景:

为什么SQL Server没有默认设置WHERE子句为mandatory呢?

来源:互联网 

It seems like a no brainer to me. I've heard countless stories about people forgetting the WHERE clause in an UPDATE or DELETE and trashing an entire table. I know that careless people shouldn't be issuing queries directly and all that... and that there are legitimate cases where you want to affect all rows, but wouldn't it make sense to have an option on by default that requires such queries to be written like:It seems like a no brainer to me. I've heard co




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: