home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / database / oracle / 2487 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.1 KB  |  26 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!wupost!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!jfedorko
  3. From: jfedorko@ncsa.uiuc.edu (Joel Fedorko)
  4. Subject: Re: SQL*Loader REALLY unique sequences
  5. References: <1gacpnINNbjl@fmsrl5.srl.ford.com> <1992Dec11.185755.15143@cis.ohio-state.edu>
  6. Message-ID: <1992Dec11.201922.20372@ncsa.uiuc.edu>
  7. Originator: jfedorko@mars.ncsa.uiuc.edu
  8. Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
  9. Organization: Day Data @ Dow 
  10. Date: Fri, 11 Dec 1992 20:19:22 GMT
  11. Lines: 13
  12.  
  13. To get a unique sequence on each load you can also use
  14.  
  15.  colname SEQUENCE (startnum,increment)    ! where startnum is spec'd by you
  16.  colname SEQUENCE (MAX,increment) ! where (if I remember right) MAX is the
  17.                                   ! largest value for the col currently in
  18.                                   ! the table and loader will start #'ing 
  19.                                   ! w/MAX+increment
  20.  
  21. -- 
  22. Joel Fedorko                         Remember Bit Hopper, 
  23. Consultant                     You must become one with the machine.
  24. Day Data 
  25. jfedorko@ncsa.uiuc.edu        Any opinions I express will be ignored.
  26.