Main Topics
Browse All TopicsHi,
I need to access a sybase database on a remote server from a local sever running sybase. What are the ways possible to establish the accessibility?
Much appreciated for any comments.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: Joe_WoodhousePosted on 2009-10-10 at 19:35:41ID: 25544694
You don't tell us which Sybase database. I'm assuming this is for Sybase ASE. The rules are different for the other databases.
uals.
If all you'll be doing is calling stored procedures, you can set it up as a "remote server" and make remote procedure calls (RPCs). This is pretty easy. The Sybase interface files on both machines need to have an entry for each other, both ASEs need to be configured to allow remote access (this is the default, but check anyway), and you need to add an entry in the calling ASE for the called ASE via the proc "sp_addserver". If your logins and passwords are not identical on both ASEs, you'll also have to map them somehow using "sp_addremotelogin".
If you want to be able to touch tables in the remote server as though they were local, you need to set up Component Integration Services (CIS). You have to do most things above except the sp_addremotelogin - you'll be using sp_addexternlogin instead. (Yes, it's confusing.) You'll also then need to create local "proxy tables" pointing to the remote tables. The easiest way to do this is with "create proxy_table".
Syntax for all commands are well documented in the Sybase Reference Manual, available for free without registration at www.sybase.com/support/man
Good luck!