home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / database / sybase / 343 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.5 KB

  1. Path: sparky!uunet!stanford.edu!bcm!mparsons
  2. From: mparsons@fleming.csc.bcm.tmc.edu (Mark Parsons)
  3. Newsgroups: comp.databases.sybase
  4. Subject: Re: "Select" from one server to ther other server
  5. Date: 18 Nov 1992 15:14:23 GMT
  6. Organization: Baylor College of Medicine, Houston, Tx
  7. Lines: 34
  8. Distribution: world
  9. Message-ID: <1edmkfINN3k@gazette.bcm.tmc.edu>
  10. References: <463@ub-tky.UBSPD.CO.JP>
  11. Reply-To: mparsons@fleming.csc.bcm.tmc.edu (Mark Parsons)
  12. NNTP-Posting-Host: fleming.csc.bcm.tmc.edu
  13. Originator: mparsons@fleming.csc.bcm.tmc.edu
  14.  
  15.  
  16. In article <463@ub-tky.UBSPD.CO.JP>, tosma@ub-tky.ubspd.co.jp (TOSMA-GUEST) writes:
  17. |> 
  18. |>                     18 Nov 1992
  19. |> 
  20. |>     Dear sybase guru:
  21.  
  22. *Cough* Hmmmmmmmmm . . . Yeeeeeeesssssssssssss????!!!! ;-)
  23.  
  24. |>     I am looking for the the way to do 
  25. |>     "select * from table where some condition" in a database in A-server,
  26. |>      ^^^^^               ^^^^^
  27. |>     then transfer the data into a different database in B-server.
  28. |>     Is there any way to do this kind of things without using 
  29. |>     Open-client Library???
  30.  
  31. Hmmmmmmmm, I don't know of any way to directly select from server A
  32. to server B.  
  33.  
  34. |>     Any suggestion will be appreciated.
  35.  
  36. Well, how about this . . . 
  37.  
  38. When doing your select, select the data into a table.  Have an
  39. insert trigger on that table which calls a stored procedure on
  40. server B(the other server) which inserts the data there.
  41.  
  42. Of course, this will cause a lot of traffic on the net if you're
  43. doing a lot of transfers . . .. just something to think about . . 
  44.  
  45. Mark
  46.  
  47.  
  48.  
  49.