Unix Technical Forum

Connection Oracle - Sybase

This is a discussion on Connection Oracle - Sybase within the Sybase forums, part of the Database Server Software category; --> I need to insert row in a sybase's table from Oracle. Sybase is on a Unix machie and Oracle ...


Go Back   Unix Technical Forum > Database Server Software > Sybase

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 03:23 PM
Gianfranco Poli
 
Posts: n/a
Default Connection Oracle - Sybase

I need to insert row in a sybase's table from Oracle.
Sybase is on a Unix machie and Oracle is on a Win2000Server o the same
network.
I tried with Transparent gateway but nothig, I have problem to
configurate o ORACLE.

I installed o win2000 the ODBC client for Sybase and all work but
don't in ORACLE (I tried to use transparent gateway with dblink).

There is some one that had tried ok with these situation?

atikin@REMOVEemail.it
Giafranco Poli
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 03:23 PM
Jim Smith
 
Posts: n/a
Default Re: Connection Oracle - Sybase

In message <b7758dc3.0404111437.7d20c2c4@posting.google.com >, Gianfranco
Poli <atikin@email.it> writes
>I need to insert row in a sybase's table from Oracle.
>Sybase is on a Unix machie and Oracle is on a Win2000Server o the same
>network.
>I tried with Transparent gateway but nothig, I have problem to
>configurate o ORACLE.


What have you tried? What error do you get?

IIRC, you need to do the following.

Install transparent gateway on the Sybase machine so that you have an
oracle service running on that machine.

Configure TNSNAMES.ORA on the Oracle machine to point at the oracle
service.

Create the database link to point at the service defined in tnsnames.ora

You also need to note that Sybase is case sensitive and Oracle folds
everything to upper case. If you Sybase table name is _myTable_, then
you need to use "myTable" in you insert statement.

Transparent Gateway is rather old. Its now called Heterogeneous Services
and may well have changed a lot.
--
Jim Smith
Because of their persistent net abuse, I ignore mail from
these domains (among others) .yahoo.com .hotmail.com .kr .cn .tw
For an explanation see <http://www.jimsmith.demon.co.uk/spam>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 03:23 PM
Ollie
 
Posts: n/a
Default Re: Connection Oracle - Sybase

Jim Smith <jim@jimsmith.demon.co.uk> wrote in message news:<LScKu91wSleAFwa9@jimsmith.demon.co.uk>...
> In message <b7758dc3.0404111437.7d20c2c4@posting.google.com >, Gianfranco
> Poli <atikin@email.it> writes
> >I need to insert row in a sybase's table from Oracle.
> >Sybase is on a Unix machie and Oracle is on a Win2000Server o the same
> >network.
> >I tried with Transparent gateway but nothig, I have problem to
> >configurate o ORACLE.

>
> What have you tried? What error do you get?
>
> IIRC, you need to do the following.
>
> Install transparent gateway on the Sybase machine so that you have an
> oracle service running on that machine.
>
> Configure TNSNAMES.ORA on the Oracle machine to point at the oracle
> service.
>


You should looki into setting up CIS.

> Create the database link to point at the service defined in tnsnames.ora
>
> You also need to note that Sybase is case sensitive and Oracle folds
> everything to upper case. If you Sybase table name is _myTable_, then
> you need to use "myTable" in you insert statement.
>
> Transparent Gateway is rather old. Its now called Heterogeneous Services
> and may well have changed a lot.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 03:24 PM
Jim Smith
 
Posts: n/a
Default Re: Connection Oracle - Sybase

In message <b7758dc3.0404111437.7d20c2c4@posting.google.com >, Gianfranco
Poli <atikin@email.it> writes
>I need to insert row in a sybase's table from Oracle.
>Sybase is on a Unix machie and Oracle is on a Win2000Server o the same
>network.


You have cross-posted this to comp.databases.oracle. This is a dead
group. You should use one of c.d.o.server, c.d.o.tools or c.d.o.misc
--
Jim Smith
Because of their persistent net abuse, I ignore mail from
these domains (among others) .yahoo.com .hotmail.com .kr .cn .tw
For an explanation see <http://www.jimsmith.demon.co.uk/spam>
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 06:10 AM.


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