home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / informix / 1883 < prev    next >
Encoding:
Internet Message Format  |  1992-09-04  |  1.8 KB

  1. Path: sparky!uunet!ogicse!usenet.coe.montana.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!mtrotter
  2. From: mtrotter@magnus.acs.ohio-state.edu (Mark L Trotter)
  3. Newsgroups: comp.databases.informix
  4. Subject: HELP! Trying to UPDATE temp table HELP!
  5. Summary: A nasty compile bug with updating temp tables
  6. Keywords: update, 4gl
  7. Message-ID: <1992Sep4.184219.11503@magnus.acs.ohio-state.edu>
  8. Date: 4 Sep 92 18:42:19 GMT
  9. Article-I.D.: magnus.1992Sep4.184219.11503
  10. Sender: news@magnus.acs.ohio-state.edu
  11. Organization: The Ohio State University
  12. Lines: 23
  13. Nntp-Posting-Host: top.magnus.acs.ohio-state.edu
  14.  
  15.  
  16. Hi fellow netters!
  17.    I am trying to create a temporary table, insert some elements from
  18. another table, then go thru the temporary table using a cursor and 
  19. do some updating of other elements.  All works except:
  20.    1. I can't DEFINE a memory record LIKE the temporary table because
  21.       it doesn't exist at compile time so I assume I must define the
  22.       entire memory record via listing all of the elements, but if I do
  23.       that then: 
  24.    2. I can't UPDATE the temporary table using 
  25.        UPDATE temptablename SET temptablename.* = memrecord.*
  26.       because I get a compile error saying that memrecord was not
  27.       defined using the RECORD LIKE phrase.
  28.  
  29. Is this a know bug and is there any workarounds?
  30. By the way, I'm on 4GL version 4.0, OnLine engine and HPUX 7.0.
  31. Thanks for any help!!!!
  32. !------------------------------------------------------------------------!
  33. ! "In these uncertain times, one must think of others' viewpoints, and   !
  34. ! always remember that a crowded elevator smells different to a midget." !
  35. !        Mark Trotter @ The Ohio State University Graduate School        !
  36. !     voice 614/292-6031  FAX 614/292-3656  BITNET trotter.1@osu.edu     !
  37. !------------------------------------------------------------------------!
  38.