How to connect from sybase to oracle
Hi All,
We are facing a problem:
1. We have an application which has Sybase database. Its an Unix system with Powerbuilder GUI. Earlier it used to connect to other application which Mainframe and has Sybase database through Dblink and stored procedure will fetch data in real time.
2. This other database is getting replaced by Oracle 10g,so Dblink and current stored procedure will not work.
3. We need a solution for this but this solution needs to be cost effective and minimum changes since this application is going to be phased out in a years time.
Can anybody can provide there valuable inputs?? Thanks in advance.
Looks like a Sybase question to me.
You should ask this in a Sybase froum.
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
How to connect from Worshop to Oracle 9.2
From Weblogic worshop I am trying to connect to Oracle 9.2.I would like to know
what should be my correct entries for the Driver and URL. I tried choosing weblogic.jdbc.oci.driver.
I get an exception
Invalid username/password. It is also possible that somthing else is invalidin
the configuration or the database is not available.
Similarly I tried oracle.jdbc.driver.OracleDriver. I get similar exception. Let
me know if If you have any answers for this.
Thanks
MadhimaThanks, I got it woking using scott/tiger, refering to my database. Also the host
& port information are prepopulated if I use Weblogic Console.
"Raj Alagumalai" <[email protected]> wrote:
Madhima,
The WebLogic Server console provides a very good UI to do this.
Based on the database vendor and the driver vendor chosen, we populate
the
appropriate driver class names.
We also allow you to test the connection.
Can you verify that the username password you are using works by testing
the
pool ?
Thanks
Raj Alagumalai
WebLogic Workshop Support
"Madhima" <[email protected]> wrote in message
news:[email protected]..
From Weblogic worshop I am trying to connect to Oracle 9.2.I wouldlike to
know
what should be my correct entries for the Driver and URL. I triedchoosing weblogic.jdbc.oci.driver.
I get an exception
Invalid username/password. It is also possible that somthing elseis
invalidin
the configuration or the database is not available.
Similarly I tried oracle.jdbc.driver.OracleDriver. I get similarexception. Let
me know if If you have any answers for this.
Thanks
Madhima -
Migrating from Sybase to Oracle
Hi!
Can someone tell me, how to migrate from Sybase to Oracle.
Thank U.Hi,
You don't say if you have used the SQL*Developer migration workbench for the migration so far.
This has a feature for transferring data offline which should do what you want.
Have a look at the documentation linked from -
http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
or at -
http://download.oracle.com/docs/cd/E12151_01/index.htm
SQL Developer User's Guide - section 2.9.1 Transferring the Data Offline
Regards,
Mike -
How to connect from VC++ 6.0 to Oracle 8i
Can anybody tell me how to connect from
VC++ 6.0 to Oracle 8i which is installed
in server (without installing in client)Whats the problem you are facing, from what I see its pretty straight forward. Edit the system object, from 'Show Category' drop down select Internet Transaction Server, hit the modify button at the extreme right and your good to go.
Thanks,
GLM -
How to connect from java without using oracle client installation
hi ,
Please tell me how to connect from java without using oracle client
Thanks & Regarshttp://www.orafaq.com/wiki/JDBC#Thin_driver
-
How to connect from Oracle 9i database on windows to sap database (orcle 8)
Hi,
I really need expert advice from anyone..I wud like to connect my Oracle 9i database running on windows platforms to SAP database (oracle 8) running on Unix platform.
Is there any special code to establish the connectivity...or we can simply use the ORacle net services(tnsnames.ora) file to connect to the SAP database??
I wud really appreciate any expert comments on this.
Thank you
RatheeshHi Ratheesh
If you are able to create an ODBC connection from the Windows Oracle server to the SAP database then you can use Oracle Heterogeneous Services to query the SAP database from Oracle through a DB link. To configure Heterogeneous Services is quite easy. You put an entry into the SID_LIST_LISTENER part of the listener.ora file:
(sid_desc=
(sid_name=hsql)
(oracle_home=C:\oracle\ora92)
(program=hsodbc)
) Then create an entry in your tnsnames.ora file to connect to your new listener service:
apmacnew =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = cntrra20-lab20)(PORT = 1527))
(CONNECT_DATA =
(Service_name = apmacnew)
(HS = ok)
)And lastly create a database link using the tnsnames entry. -
Problem while migrating from Sybase to Oracle using Quick Migrate
Hi,
For SQL Developer version 2.1, while migrating from sybase to oracle, Using Quick migrate, during data move step, for the rows having ''(Blank) values in TEXT data type in SYBASE, which is convertd to CLOB in Oracle, the migration for that table terminates at that row.
However, NULL values in Sybase TEXT data type are successfully inserted in Oracle CLOB.
How can we overcome this?reproduced and see exception in console, bug logged.
Edited by: Jade Zhong on Feb 1, 2010 6:10 PM -
DATE format problem, migrating from Sybase to Oracle 9i
Hi,
We are in a process of migrating the database from Sybase to Oracle 9i, everything going fine except the data load of couple of tables.
The workbench created the control file, data & related files to load the data into Oracle using the SQL*LOADER.
But coule of data files having HH:MI:SS:xxx AM in the DATE field, which Oracle is failing while laoding the workbeck created the destination table with the column data type = DATE, so how to insert the milliseconds along the date like Mar 25 2004 12:00:00:000 AM
Thanks
Ramana
212-657-0104In your control file for SQL*Loader, specify the timestamp with format like "Mon DD yyy hh:mi:ss:ff3AM".
-
HOW COULD CONNECT FROM SAP SYSTEM TO THIRD PARTY JAVA APPLICATION
HI expects,
HOW COULD CONNECT FROM SAP SYSTEM TO THIRD PARTY JAVA or . DET APPLICATION.please provide me some scenarios and documents.please help me.Hi,
In the sender side i.e. in SAP system you can use IDoc/RFC/Proxy to push the data to XI.
IDoc supports only Async communication and in Sync case performace is good using Proxy.
In the receiver side you can use Java Proxy to connect to the Java application or you can even bulid a webservice over the Java/.Net application and use SOAP adapter to post data to it.
Thanks
SaNv... -
Hi.
I'm kind of new at this, so please bear with me.
We're moving from Sybase towards Oracle, and there we have a problem.
I'd like to know if you have to change the way you make the Java SQL-queries, in order to make it work with Oracle DB's.
Any help appreciated
Thanx in advance
/Mike
nullThere is always a possibility that the jdbc syntax being used may have some "sybase specific" extension to the jdbc spec syntax.
when you move the application from sybase to the oracle rdbms, some of these "sybase" extensions to the jdbc syntax may not work.
assuming you're using rdbms 8.1.6 then you want to review any syntax issues you run into with the following java dcumentation :
http://technet.oracle.com/doc/oracle8i_816/
make sure you thoroughly test your applications.
i hope thi9s helps ...
null -
Importing DB info from Sybase to Oracle 9i
Could someone please tell me if it is possible to import a sybase db into oracle 9i. The reason, I need to be able to import and excisting DB from sybase to Oracle for a project.
In your control file for SQL*Loader, specify the timestamp with format like "Mon DD yyy hh:mi:ss:ff3AM".
-
KM for Bulk loading from Sybase to Oracle
Is there KM available for Bulk loading from Sybase to Oracle ?
May be using Unix pipe, sybase fetch and Direct sqlloader.
Anyone has some thoughts on this, appreciate your responses.Sample CTL generated by ODI.
OPTIONS (
ERRORS=0,
DIRECT=TRUE
LOAD DATA
INFILE "/exp_imp/ODI_C_0ODI_TEST.bcp"
BADFILE "/exp_imp/ODI_C_0ODI_TEST.bad"
DISCARDFILE "/exp_imp/ODI_C_0ODI_TEST.dsc"
DISCARDMAX 1
INTO TABLE ODISYB_TEST.ODI_C_0ODI_TEST
FIELDS TERMINATED BY 'M-,'
C1_TEST_NO,
C2_TEST_DESC,
C3_TEST_TOKEN,
C4_TEST_DATE
Error on SQLLoader log file.
Record 1: Rejected - Error on table ODISYB_TEST.ODI_C_0ODI_TEST, column C4_TEST_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected -
How to connect google maps with oracle
Hello people ,
i read an artical there is a way to connect google maps with oracle .
can anyone give us lesson or more information to do that ?
regards .I guess, using Google for the same should be the best way to find the solution for it,
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=How+to+connect+google+maps+with+oracle
HTH
Aman.... -
Issue during migrating from Sybase to Oracle using Oracle SQL Developer
I am using SQL Developer v 3.2.20.09 to migrate from Sybase to Oracle Pl/SQL 12c
While migrating the stored procedure the following block did not convert. I got NULL instead of object_id:
Sybase Block:
IF OBJECT_ID(‘dbo.CheckEst’) IS NOT NULL
BEGIN
DROP PROCEDURE dbo.CheckEst
IF OBJECT_ID(‘dbo.CheckEst’) IS NOT NULL
PRINT ‘<<>>’
ELSE
PRINT ‘<<>>’
END
Oracle Block after conversion:
BEGIN
IF NULL/*TODO:OBJECT_ID(‘dbo.CheckEst’)*/ IS NOT NULL THEN
BEGIN
DROP PROCEDURE CheckEst;
IF NULL/*TODO:OBJECT_ID(‘dbo.CheckEst’)*/ IS NOT NULL THEN
DBMS_OUTPUT.PUT_LINE(‘<<>>’);
ELSE
DBMS_OUTPUT.PUT_LINE(‘<<>>’);
END IF;
END;
END IF;
END;
Lines 1 & 4 got converted to NULL. I have many places where such code is written.
Is there any quick way to overcome such an issue? or what needs to be done in such case?Hi,
You are using an older version of SQL*Developer. Could you download the latest 4.0.2 version available from here -
Oracle SQL Developer
and check if you still have the problem ?
Regards,
Mike -
Experiences migrating from Sybase to Oracle
Hi all,
I have been asked to look into migrating a database from Sybase to Oracle.
I know there is lots of info on Oracle's website, which I have downloaded, but I was just hoping for some info about some of your experiences regarding your processes. What are the gotchas. I suspect there will be a few.
Anything that will help would be of interest.
Many thanks
VicCHI VicC,
I work within the SQL Developer team and not a customer as such, but the follow maybe of use.
SQL Developer is a migration aid, its not 100% magic bullet.
SQL Developer does alot of the manual conversion for you quickly. But you may find Testing / Tuning and the application migration (if any) take you the most amount of time.
SQL Developer aims to migrate you tables, indexes, and data without issue. But SQL Objects like Procedures, Triggers, Views and Functions conversion will likely require manual work on top of the automatic conversion provided by SQL Developer.
SQL Developer does not yet automatically handle things like the tablespaces structure or the the logins. Although these things can be scripted and managed more easily within SQL Developer.
I would recommend downloading and performing the migration from a non production instance ASAP.
SQL Developer can perform a migration quickly and you will then be able to assess what SQL Developer can and cant do for you.
I would recommend creating a migration repository on an Oracle database local (install Oracle XE if you dont have a local database) to the SQL Developer instance you are using.
I would also recommend downloading SQL Developer 2.1
Here are some key sites regarding Sybase migrations.
http://www.oracle.com/technology/tech/migration/workbench/viewlets/sqlserver.html . This viewlet for SQL Server is the same process for Sybase.
http://www.oracle.com/technology/obe/hol08/sqldev_migration/sybase/migrate_sybase_otn.htm . This Oracle By Example takes you step by step through a Sybase migration including some gotchas
http://dermotoneill.blogspot.com/2008/06/sql-developer-migration-workbench-151_11.html . This is my blog outlining the steps to perform a Sybase migration.
Regards,
Dermot
SQL Developer Team.
Maybe you are looking for
-
Macbook Air 11" Log-In Language Unchangeable. Please Help!
Hello All I recently purchased this MacBook Air 11" from someone, and it had some folders in Asian (yes, I know Asian is not a language per se, but I do not want to say Simplified Chinese, or Japanese, or Korean, or whatever for fear of offending peo
-
How do I import photos from a cd to iPhoto library?
I would like help on now to import photos from a cd to my iphoto libray on my macbook pro.
-
Function Module to find BID ITEM
Is there any function module to get BID ITEM which is the 2nd level WBS element?
-
HT1689 When I touch my music icon on my iPad, it does not open, any suggestions?
ANy suggestions?
-
EOS 1200D - Raw-Dateien unter Vista öffnen/bearbeiten
Hallo Gemeinde! Ich habe mir vor ein paar Tagen die Canon EOS 1200D zugelegt und jetzt festgestellt, daß diese Kamera erst ab CR 8.4 unterstützt wird. Ich habe als Betriebssystem allerdings Windows Vista, da ist die letzte mögliche CR-Version die 8.3