home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / database / oracle / 1577 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.4 KB

  1. Path: sparky!uunet!gatech!rpi!bu.edu!dartvax!kip-sn-49.dartmouth.edu!user
  2. From: carl.pedersen@dartmouth.edu (L. Carl Pedersen)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: Trouble with name_in function (re-post)
  5. Message-ID: <carl.pedersen-140992113703@kip-sn-49.dartmouth.edu>
  6. Date: 14 Sep 92 15:46:22 GMT
  7. References: <dewey-110992125749@sebastian.centerline.com>
  8. Sender: news@dartvax.dartmouth.edu (The News Manager)
  9. Followup-To: comp.databases.oracle
  10. Organization: Dartmouth College
  11. Lines: 27
  12.  
  13. In article <dewey-110992125749@sebastian.centerline.com>,
  14. dewey@centerline.com (Devan F. Dewey) wrote [in part]:
  15. >         blk := :system.cursor_block;
  16. >         fld :=  blk || '.explination';
  17. >  >>>    explination := name_in(name_in('fld'));
  18. > I'm trying to put the value stored in the field :hotel.explination into the
  19. > local variable explination.
  20. > What am I doing wrong???
  21.  
  22. Try:  explination := name_in(:system.cursor_block||'.explination');
  23.  
  24. The description of name_in() in the manual is confusing (to me at least). 
  25. If you don't need any indirection, you can go:
  26.  
  27.      explination := :hotel.explination;
  28.  
  29. > BTW: I've been trying to e-mail this to ORACLE support. Does anyone have an
  30. > e-mail address for them???
  31.  
  32. Wouldn't it be nice if they had an email address?
  33.  
  34. I hope you had a good reason for the spelling of that variable because it's
  35. exacerbating my neurosis.
  36.