home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / theory / 419 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!rutgers!news.cs.indiana.edu!umn.edu!ulysses.cs.umn.edu!kencham
  2. From: kencham@ulysses.cs.umn.edu (Deepak)
  3. Newsgroups: comp.databases.theory
  4. Subject: Re: What is the _Halloween Problem_ ?
  5. Message-ID: <1992Aug28.161050.668@news2.cis.umn.edu>
  6. Date: 28 Aug 92 16:10:50 GMT
  7. References: <1992Aug24.000720.7563@news2.cis.umn.edu> <22838@sybase.sybase.com>
  8. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  9. Organization: University of Minnesota
  10. Lines: 31
  11. Nntp-Posting-Host: ulysses.cs.umn.edu
  12.  
  13. Ho gurus,
  14.  
  15. Thanks for the clarification. But one doubt still persists .....
  16.  
  17. Consider the following table :
  18.  
  19.     table OneK {
  20.  
  21.     TYPE unique2 ; /* This is a primary key for the table */
  22.     ..........
  23.         };
  24.  
  25. Consider the query,
  26.  
  27.     Update OneK
  28.     Set unique2 = 10002
  29.     where unique2 == 10001;
  30.  
  31. According to some systems, this is an instance of the 
  32. _Halloween Problem_. How ? Besides violation of entity constraint 
  33. what is the other problem that makes it _HP_ for some systems.
  34.  
  35. Thanks, in advance
  36. PS: Exact syntax etc.. may be overlooked.
  37. -- 
  38. * Deepak R. K..........-H.......  *                             *
  39. * D........ of C...... S......    * Underneath the surface of,  *
  40. * U......... of M........         * Sai Baba,                    *
  41. * 1:(  (612) 626-8396(o),         * Life is a Cobra.            *   
  42. *      (612) 339-8997(r) )        * - Seljut Veljet (Softwood)     *
  43. * kencham@ulysses.cs.umn.edu      *                             *
  44.