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