home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / oracle / 2934 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!cert!netnews.upenn.edu!prijat!jaguar.uofs.edu!littlec1
  2. From: littlec1@jaguar.uofs.edu (Chris Little)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Compressing table after DELETE ?? - Thanks for help
  5. Message-ID: <1993Jan24.224220.1@jaguar.uofs.edu>
  6. Date: 25 Jan 93 03:42:20 GMT
  7. Sender: news@prijat.cs.uofs.edu
  8. Organization: University of Scranton
  9. Lines: 17
  10. Nntp-Posting-Host: jaguar.uofs.edu
  11.  
  12.  
  13. I have a table with a column of type number.  This column is a form of
  14. keying mechanism, in that the keys are the row numbers.  That is, rows
  15. 1 through 10 have keys 1 through 10.  I always want this to be the case.
  16.  
  17. Two questions:
  18.  
  19. 1: How do I maintain this after deleting a single row with a
  20.    single DELETE statement?
  21.  
  22. 2: How do I maintain this after deleting multiple rows with a
  23.    single DELETE statement?
  24.  
  25. --
  26. Chris Little, Programmer/DBA                    University Computing Systems
  27.                                                 University of Scranton
  28.   LITTLEC1@JAGUAR.UOFS.EDU                      Scranton, PA 18510
  29.