home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / informix / 2504 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  1.8 KB

  1. Path: sparky!uunet!pipex!demon!cix.compulink.co.uk!shemminga
  2. Newsgroups: comp.databases.informix
  3. From: shemminga@cix.compulink.co.uk (Stuart Hemming)
  4. Subject: No subject 
  5. Reply-To: shemminga@cix.compulink.co.uk
  6. Date: Mon, 23 Nov 1992 13:26:00 +0000
  7. Message-ID: <memo.764951@cix.compulink.co.uk>
  8. Sender: usenet@gate.demon.co.uk
  9. Lines: 41
  10.  
  11. UPDATE BY NAME
  12.  
  13. I was wondering if anyone else thought that having and update by name
  14. function (or insert by name) would be worth while. If enough did
  15. could we get Informix to at least consider it as an option.
  16.  
  17. I often have to Insert/Update large tables, sometimes with the fields
  18. effected "spread" throughout the record. It is often the case that
  19. the THRU operator cannont be efficiently used because of the
  20. seperation of the fields in the record.
  21.  
  22. If, when working in 4GL, I could just:
  23.  
  24.         DEFINE rec RECORD LIKE big_record
  25.         .
  26.         .
  27.         .
  28.         UPDATE big_record BY NAME
  29.                 SET rec.field_1, rec.field_10....
  30.  
  31. this would be much quicker.
  32.  
  33. On the face of it I can't see why it *couldn't* be done. All of the
  34. existing restrictions would still apply and things like
  35. UPDATE..SET..WHERE should still work.
  36.  
  37. What does the panel think?
  38.  
  39. --------------------------------------------------------------
  40. | Who cares whos opinions these are?!                        |
  41. | Send me mail and I'll love you forever (Maybe)             |
  42. |------------------------------------------------------------|     
  43. | Stuart Hemming       | shemminga@cix.compulink.co.uk       |
  44. | Tudor Labels Ltd     | uunet!cix.compulink.co.uk!shemminga |
  45. | Roman Bank Bourne    | Tel :  (+44) 778 426444             |
  46. | Lincs PE10 9LQ. UK.  | Fax :  (+44) 778 421862             |
  47. --------------------------------------------------------------
  48.  
  49.  
  50. Stuart
  51. |8-)
  52.