home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 18,377 of 19,505   
   Gene Wirchenko to esquel@sommarskog.se   
   Re: SSE 2008: Check Clause Question   
   12 Jul 11 15:47:34   
   
   From: genew@ocis.net   
      
   On Tue, 12 Jul 2011 23:56:34 +0200, Erland Sommarskog   
    wrote:   
      
   >Gene Wirchenko (genew@ocis.net) writes:   
   >>      Is there any way around the SQL glitch that a check condition   
   >> will always succeed when the table is empty?   
   >>   
   >>      I do not want to have the first row be automatically accepted.   
   >   
   >Not sure what you mean. If the table is empty, there is nothing to enforce.   
   >That does not mean if you add a row, that anything will be accepted.   
   >   
   >Could you clarify?   
      
        That is what I have read.  There is even an example purporting to   
   show this   
             http://msdn.microsoft.com/en-us/library/ms188258.aspx   
   It appears to be a false alarm.   
      
   Sincerely,   
      
   Gene Wirchenko   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca