home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases.sybase
- Path: sparky!uunet!csfb1!lhall
- From: lhall@csfb1.fir.fbc.com (Lawrence Hall)
- Subject: RE: "Select" from one server to ther other server
- Message-ID: <Bxx3zz.IEq@csfb1.fir.fbc.com>
- Sender: news@csfb1.fir.fbc.com (Usenet News Account)
- Reply-To: uunet!csfb1!lhall
- Organization: First Boston Corporation
- Date: Wed, 18 Nov 1992 15:21:34 GMT
- Lines: 44
-
- Etsuko Shimabukuro writes :
-
- [ I am looking for the the way to do
- [
- [ "select * from table where some condition" in a database in A-server,
- [ ^^^^^ ^^^^^
- [ then transfer the data into a different database in B-server.
- [
- [ Is there any way to do this kind of things without using
- [
- [ Open-client Library???
-
-
-
- The easiest way to accomplish this inter-server move of data is as follows :
-
-
- Server A
-
- Select * into table-x from table where some condition
-
-
- bcp database..table-x out x.data -S AServer (appropriate bcp args here)
-
- bcp target_database..table-y in x.data -S BServer ( appropriate bcp args)
-
-
-
-
- As for selecting-into one server from another, Sybase does not support this
- and will not support this except through the use of the Omni Server.
-
-
- " " " Lawrence
-
-
- ----------------------------------------------------------------------------
- Lawrence E. Hall
- First Boston Corp.
- 5 World Trade Center 9th Floor uunet!csfb1!phantom!lhall
- NYC, NY 10048 lhall@csfb1.fir.fbc.com
- ----------------------------------------------------------------------------
- The Secretary will disavow all knowledge.
-
-