home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / sybase / 375 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.databases.sybase
  2. Path: sparky!uunet!spool.mu.edu!caen!spencer
  3. From: spencer@med.umich.edu (Spencer W. Thomas)
  4. Subject: Re: systypes?
  5. Message-ID: <SPENCER.92Nov23105438@guraldi.med.umich.edu>
  6. Date: Mon, 23 Nov 92 10:54:38 EST
  7. Organization: University of Michigan
  8. In-Reply-To: spencer@med.umich.edu's message of Thu, 19 Nov 92 17:17:43 EST
  9. References: <SPENCER.92Nov19171743@guraldi.med.umich.edu>
  10. Distribution: comp
  11. Nntp-Posting-Host: guraldi.itn.med.umich.edu
  12. Lines: 14
  13.  
  14. Jeff Kyser suggested looking at the code for sp_help.  Thanks.  For
  15. the record, at least under version 4.2, the way to get the system type
  16. for a given usertype <ut> is
  17.     select system_type=st.name from systypes s, systypes st where
  18.         s.usertype=<ut> and s.type = st.type and 
  19.         st.usertype!=18 and st.usertype < 100
  20.  
  21. The st.usertype!=18 ignores sysname.  The key test seems to be
  22. st.usertype<100.
  23.  
  24. --
  25. =Spencer W. Thomas         |  Info Tech and Networking, B1911 CFOB, 0704
  26.    "Genome Informatician"    |  Univ of Michigan, Ann Arbor, MI 48109
  27. Spencer.W.Thomas@med.umich.edu    |  313-747-2778, FAX 313-764-4133
  28.