Re: Avoid update without where clause

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Donald (anonymous_at_discussions.microsoft.com)
Date: 05/27/04


Date: Thu, 27 May 2004 10:51:21 -0700

Good answer, i like the sledgehammer example

Thank you

>-----Original Message-----
>No, this is a case where your developers must use common
sense, and look
>over their scripts before executing them.
>
>If it's any consolation, SQL Server also won't prevent
you from tripping
>over the power cord or using a sledgehammer against the
CPU. ;-)
>
>--
>Aaron Bertrand
>SQL Server MVP
>http://www.aspfaq.com/
>
>
>
>
>"Donald" <anonymous@discussions.microsoft.com> wrote in
message
>news:1383601c443ff$12727930$a001280a@phx.gbl...
>> Hi every one,
>>
>> Using SQL 7.0,
>>
>> Without using transaction, is there a way that SQL void
>> (refuse) any update or delete if there is no where
>> clause ?
>>
>> In order to avoid devastating lapse of memory :o\
>>
>> Thanks !
>>
>> Donald
>
>
>.
>



Relevant Pages

  • Re: How do I import/export databases in MSDE?
    ... Scripts are like the old PRGs (files with FoxPro statement or DML) ... ... > OSQL is only a client tool able to communicate with SQL Server via ODBC API, ... > T-SQL statements are sent to the server via the network protocols via the ...
    (microsoft.public.sqlserver.msde)
  • Re: DB Design Question
    ... I support the Professional Association of SQL Server and it's community of SQL Server professionals. ... Each product has some common elements and then after that each> product has different options (seperate fields represents each option). ... > Even some of the options have extra options with it. ...
    (microsoft.public.sqlserver.server)
  • Re: How to generate SQL server script programmatically?
    ... Do you know any Java solution for this? ... > Looking for a SQL Server replication book? ... The install package basically will consist of scripts ... >> every objects in the databases, like all the tables, stored procedures, ...
    (microsoft.public.sqlserver.server)
  • Re: SQL Server 2005 Opening Script File Problem
    ... I have some scripts written by one of my coworkers to ... file type set to open with SQLWB - SQL Server Management Studio), ... file opens in Notepad instead of appearing in the query window. ... run it but of course this gets cumbersome for long scripts. ...
    (comp.databases.ms-sqlserver)
  • RE: SQL-DMO CreateFile error when scripting database
    ... Scripts from SQL Server Enterprise Manager and encounter the error message ... This posting is provided "AS IS" with no warranties, ...
    (microsoft.public.sqlserver.tools)