home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / database / sybase / 495 < prev    next >
Encoding:
Text File  |  1992-12-15  |  938 b   |  28 lines

  1. Newsgroups: comp.databases.sybase
  2. Path: sparky!uunet!shearson.com!newshost!wfinnert
  3. From: wfinnert@larry.shearson.com (Warren Finnerty)
  4. Subject: Re: NULL to NOT NULL
  5. In-Reply-To: mharper@well.sf.ca.us's message of Tue, 15 Dec 1992 14:42:52 GMT
  6. Message-ID: <WFINNERT.92Dec15151743@larry.shearson.com>
  7. Sender: news@shearson.com (News)
  8. Organization: Lehman Brothers
  9. References: <BzB27G.7Ex@well.sf.ca.us>
  10. Distribution: usa
  11. Date: Tue, 15 Dec 1992 20:17:43 GMT
  12. Lines: 14
  13.  
  14. >In article <BzB27G.7Ex@well.sf.ca.us> mharper@well.sf.ca.us (Michael J. Harper) writes:
  15.  
  16. >   If I create a column in a table which allows NULLs, is there a way to go back
  17. >   later and change this column to be NOT NULL?
  18.  
  19. No.
  20.  
  21. Create a new table and either bcp data out-in or use sp_rename ( and 
  22. be careful with procs / triggers ref'ing it ).
  23. --
  24. warren finnerty      | 388 Greenwich St.
  25. Lehman Brothers      | NYC NY 10013
  26. "Back off man!"      | wfinnert@shearson.com
  27.  
  28.