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

  1. Path: sparky!uunet!usc!rpi!batcomputer!munnari.oz.au!manuel!sserve!hhcs.gov.au!pihlab
  2. From: pihlab@hhcs.gov.au
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: Forms3 LOV
  5. Message-ID: <1992Sep7.095115.352@hhcs.gov.au>
  6. Date: 7 Sep 92 09:51:14 +1000
  7. References: <715541236snx@socrates.demon.co.uk>
  8. Distribution: world
  9. Organization: Aust. Dept. Health, Housing and Community Services
  10. Lines: 27
  11.  
  12. > SELECT 'Y', 'N'
  13. > INTO   :my_field
  14. > FROM   system.dual
  15.  
  16.  
  17. Hmmm....  Try a UNION statement to get the two items as separate rows rather
  18. than as seperate columns.
  19.  
  20. Something like:
  21.  
  22. SELECT 'Y' FROM dual
  23. UNION
  24. SELECT 'N' FROM dual;
  25.  
  26.  
  27. -- 
  28.  
  29. Bruce...        pihlab@hhcs.gov.au
  30.                  ^^
  31. *******************************************************************
  32. * Bruce Pihlamae  --  Database Administration                     *
  33. * Commonwealth Department of Health, Housing & Community Services *
  34. * Canberra, Australia                             (W) 06-289-7056 *
  35. *******************************************************************
  36. * These are my own thoughts and opinions, few that I have.        *
  37. *******************************************************************
  38.