home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / database / sybase / 522 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.6 KB  |  40 lines

  1. Newsgroups: comp.databases.sybase
  2. Path: sparky!uunet!spool.mu.edu!agate!apple!mumbo.apple.com!gallant.apple.com!NewsWatcher!user
  3. From: dshapiro@apple.com (David Shapiro)
  4. Subject: Re: Notifying clients of table mods?
  5. Sender: news@gallant.apple.com
  6. Message-ID: <dshapiro-191292124716@90.50.8.13>
  7. Date: Sat, 19 Dec 1992 20:55:58 GMT
  8. References: <1992Dec17.185308.20280@shearson.com>
  9. Organization: Apple Computer, Inc.
  10. Followup-To: comp.databases.sybase
  11. Lines: 27
  12.  
  13. In article <1992Dec17.185308.20280@shearson.com>, fgreco@shearson.com
  14. (Frank Greco) wrote:
  15. > I'm soliciting for ideas and comments on a Unix-based notification
  16. > system.
  17. > I have a potential appliation where I would like to notify distributed
  18. > client processes (LAN) that a table(s) was modified in a Sybase database.
  19.  
  20. If you would like to stick with db-lib, you can front end the whole thing
  21. with Sybase's Open Server 2.0 (and db-lib 4.6 or greater). This contains a
  22. new notification scheme called 'registered procedures', which allows
  23. asynchronous call back to the clients. As your clients log in to the Open
  24. Server, you subsequently log them in to the actual sql server, and then
  25. register them as interested in a particular procedure - procedures in Open
  26. Server (indeed all of open server) are all C and not t-sql. Now, when this
  27. table is modified, you can call the procedure from a regular sql server
  28. (inside a trigger or stored procedure [exec openservername..sp_name]), your
  29. clients will be notified through db-lib with the calling information. Hope
  30. this helps
  31.  
  32. Dave Shapiro
  33.  
  34. Apple Computer, Inc.
  35.  
  36. [The usual disclaimers]
  37.