home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / database / sybase / 527 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!asuvax!asuacad!idazs
  2. Organization: Arizona State University
  3. Date: Monday, 21 Dec 1992 10:15:48 MST
  4. From: <IDAZS@ASUACAD.BITNET>
  5. Message-ID: <92356.101548IDAZS@ASUACAD.BITNET>
  6. Newsgroups: comp.databases.sybase
  7. Subject:    Using Views for data presentation
  8. Lines: 33
  9.  
  10.  
  11. Dear Netters,
  12.  
  13.         We here at ASU are trying to create Views for mailing labels.
  14.  
  15. First and last names are stored in separate fields in upper
  16.  
  17. case. We have been partially successful in combining them to display
  18.  
  19. in upper-lower case, using "substring" and "rtrim" functions. Names
  20.  
  21. that have spaces or dashes, like "James Mc donald" or
  22.  
  23. "Carol Terry-peplow" have been a problem. It seems that we cannot use
  24.  
  25. conditionals ('if', 'else') within a view.
  26.  
  27.        If anyone has solved this problem or has a recommendation
  28.  
  29. please let us know. We are running SQL Server 4.8, and accessing the
  30.  
  31. data with views through client tools such as DataPrism.
  32.  
  33.        Thanks.
  34.  
  35.        Ajay Surana
  36.        John Rome
  37.        Data Administration
  38.        Arizona State University
  39.        Tempe, AZ
  40.        (602) 965-0857
  41.  
  42.  
  43.