Unix Technical Forum

Re: Accessing Remote Server Objects

This is a discussion on Re: Accessing Remote Server Objects within the Sybase forums, part of the Database Server Software category; --> naveensc1@indiatimes.com (Naveen) wrote in message news:<af604cc.0308270734.4febf13f@posting.google.c om>... > Hi > I am using Sybase Adaptive Server. I have two ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:52 PM
Bret Halford
 
Posts: n/a
Default Re: Accessing Remote Server Objects

naveensc1@indiatimes.com (Naveen) wrote in message news:<af604cc.0308270734.4febf13f@posting.google.c om>...
> Hi
> I am using Sybase Adaptive Server. I have two database servers HOLD1
> (ver 11.9.2) and GEO (ver 12.0). I need to remotely access tables in
> HOLD1 from procedures in GEO server. I have set up Remote Servers and
> I can use HOLD1...sp_who when connected to GEO it give me result of
> users in HOLD1.
>
> But when I use Select * from HOLD1...[tablename] it gives me an error
> saying 'contains more than the maximum number of prefixes. The
> maximum is 2'
>
> When I give Select * from HOLD1..[tablename] it says object not found.
>
> I cannot run other procedures creted in HOLD1 also
> Please Help.
>
> regards and thanks
> Naveen


While it would be nice if that syntax was supported, it is not.
The way to access tables on remote servers is to create a local
proxy table that maps to the table on the remote server, and access
the local proxy table is if it were a local table. Read the
ASE CIS User's Guide for details on proxy tables.

-bret
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:32 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com