home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.sybase
- Path: sparky!uunet!tekbspa!tssgate!esh
- From: esh@prague.tss.com (Edward S. Hirgelt)
- Subject: Re: Using Views for data presentation
- In-Reply-To: 's message of Monday, 21 Dec 1992 10:15:48 MST
- Message-ID: <ESH.92Dec21172435@prague.tss.com>
- Sender: news@tss.com (USENET Network News)
- Organization: Teknekron Software Systems, Inc.
- References: <92356.101548IDAZS@ASUACAD.BITNET>
- Date: Tue, 22 Dec 1992 01:24:35 GMT
- Lines: 26
-
-
- On Monday, 21 Dec 1992 10:15:48 MST, Ajay Surana & John Rome ask about
- conditionals in views.
-
- The short answer is nope, can't do it.
-
- However, consider doing the same thing with stored procedures. You may
- have to do some careful thinking to decide on what to pass the
- procedure as parameters, but you should be able to accomplish some of
- what you want that way. The stored procedure can do some conditional
- work and decide what to return.
-
- The big problem will be many selects instead of a single one. Any client
- will have to loop over dbresults as well as dbnextrow which they should
- do anyway.
-
- Hmmm, sounds like a case for select triggers (which don't exist).
-
- Ed
-
-
-
- --
- Ex vitio alterius |Ed Hirgelt |esh@tss.com
- sapiens emendat suum. |Teknekron Software Systems, Inc|
- (Publilius Syrus) |Palo Alto, Ca. |
-