home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / bit / listserv / sasl / 3435 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.3 KB  |  34 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!darwin.sura.net!paladin.american.edu!auvm!MEMSTVX1.BITNET!BOKERSON
  3. X-VMS-To: IN%"sas-l@uga.bitnet"
  4. Message-ID: <SAS-L%92072714554510@UGA.CC.UGA.EDU>
  5. Newsgroups: bit.listserv.sas-l
  6. Date:         Mon, 27 Jul 1992 13:55:00 CDT
  7. Reply-To:     BOKERSON@MEMSTVX1.BITNET
  8. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  9. From:         BOKERSON@MEMSTVX1.BITNET
  10. Subject:      re: all possible combinations join
  11. Lines: 21
  12.  
  13. A special thanks to Howard Schreier for suggesting an outer join with Proc SQL.
  14. The following code solved my problem:
  15.  
  16. proc sql;
  17.     create table tot as
  18.     select *
  19.     from beh full join inm
  20.     on beh.pond=inm.pond;
  21.  
  22. Thanks also to Ben Conner, Tom Abernathy and Kernon Gibes for suggesting SQL.
  23. As one who learned SAS before the advent of Proc SQL, I keep trying to do
  24. everything with data steps, even with SQL is more appropriate because of the
  25. radical differences in syntax.  I have now resolved to learn Proc SQL.
  26.  
  27. -------------------------------------------------------------------------------
  28.  
  29. Barbara Okerson                     BOKERSON@MEMSTVX1 (bitnet)
  30. SAS Consultant                      BOKERSON@MSUVX1.MEMST.EDU (internet)
  31. Academic Computer Services          (901)678-3682 (voice)
  32. Memphis State University
  33. Memphis, TN  38152
  34.