Moving from MS SQL 7 to Oracle 8i

We are thinking about moving one of our client/server applications from MS SQL 7.0 to Oracle 8i. We know that we will have to change some of the datatypes in the database. But will there have to be a major rewrite of the backend code (stored procedures, triggers, views, etc...)? Does Oracle 8i support SQL or just PL-SQL and JAVA?

Thank you all, at the end, i have fixed the problem. It seems root cause of the problem is my regional settings.
I have completed to transfer my Sql schema to Oracle with errors. Migration Wizard gives errors in the stage of creating relations. It is something like that,
Failed to create foreign key: ORA-02298 Cannot validate - Parent keys cannot find
I have also tried to migrate my sql data but when the wizard finishes running, a large amount of my data is also lost.
Do you have any suggestions?
Thank you.
Aykut

Similar Messages

  • Help me please to migrate from MS SQL to Oracle

    Hi all,
    we are in process of migration from MS SQL to Oracle.
    Please help me to perform the same in Oracle:
    select number+1 as rowid,number*6+1 as rowbeg,number*6+6 as rowend 
    from master.dbo.spt_values
    where type='P'
    Our Oracle version:
    select * from v$version
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production   
    PL/SQL Release 11.2.0.2.0 - Production                                         
    CORE 11.2.0.2.0 Production                                                     
    TNS for 64-bit Windows: Version 11.2.0.2.0 - Production                        
    NLSRTL Version 11.2.0.2.0 - Production                                         
    5 rows selected.

    996831 wrote:
    Here is another solution without "connect by":
    select 1 as rnum, 1 as rowbeg, 6 as rowend from dual
    union all
    select rownum+1 as rnum,rownum*6+1 as rowbeg,rownum*6+6 as rowend
    from all_objects
    1
    1
    6
    2
    7
    12
    3
    13
    18
    4
    19
    24
    5
    25
    30
    6
    31
    36
    7
    37
    42
    (et cetera).
    This needs the user to have access on all_objects view and it will limit the result upto the numbers of objects returned by the all_objects view.

  • OLAP data from MS SQL to Oracle

    Hi,
    I am currently using Microsoft SQL server 2000 as our datawarehouse with Analytic services(OLAP data).
    We are thinking of migrating to Oracle 10g. By using Migration Workbench, will it migrate my 3 dimensional data(OLAP) from MS SQL to Oracle (OLAP) ?
    Thank you.
    Best Regards,
    Ian Ho

    This could happen if you are using improper LKM
    So depending on your source and staging database you choose the corresponding LKM
    for example:
    If you are using MS SQL Server as your source and Oracle database as the staging database, then you should be using lKM SQL to Oracle

  • Insert Data from Oracle to MS-SQL and back from MS-SQL to Oracle !

    Dear Gurus,
    Good day,
    I have Oracle db 10.1.0.2 on Sun Solaris 9 and want it to communicate online with an MS-SQL server DB on a windows machine.
    Oracle states that i can use the TG4MSQL ( Transparent Gateway for MS-SQL ).
    The issue here that this TG4MSQL needs to be installed on a db on WINDOWS then make a DB link from this db to MS-SQL as well as to the original oracle db because TG4MSQL is not available on UNIX ( only in 11g ) !
    Is there any way to do this 2-way insert from/to MS-QL & Oracle without creating a new dummy DB for TG4MSQL?
    Is there any other ways or methods?
    Please advise,
    Appreciate your help.
    Cheers,
    Firas

    I think you must have mis-read or mis-understood about the Transparent Gateway. I've not worked with the one for MSSQL but have for DB2.
    The OTG installs on the server with the 'foreign' (non-Oracle) database. It simply acts as a client to that database, presenting an Oracle interface on the other side - somewhat analogous to ODBC presenting a common interface for connections to various db or db-like products.
    As such, it only makes sense that the OTG for MSSQL would only be available for Windows ... Windows is the only platform that MSSQL runs on.
    When I was using the OTG for DB2, we simply installed the OTG on the Z/OS system (IBM mainframe) hosting the DB2, then defined a dblink in the Oracle database (that one was running on Windows) to point to it. As far as the Oracle db was concerned, it had no reason to know that the link was pointing to a non-Oracle db.

  • Migration from MS SQL to Oracle

    We have developed our application with VB.net and MS SQL server (that is also loaded with a big number of stored procedures), the application is also using Web services and xml and other technologies.
    Currently my issue is, that many of our potential clients demand for Oracle server at the back-end, I need a sound tool to migrate from MS SQL to Oracle

    The thing to do is check out the Migration Workbench.
    Cheers, APC

  • What methods are available to migrate Data from MS SQL to Oracle DB 11g.

    Hi,
    Need to know the No of ways/ Techniques via we can Migrate data from MS SQL Server to Oracle DB 11g.
    Thanks ,
    NL

    hi,
    i came across this link in oracle demos :
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    the migration process using sql developer
    br,
    mrak

  • Tools for migrating data (documents) from MS SQL to Oracle

    Hi,
    Please let me know if there any tools available for migrating documents from one database like MS SQL to Oracle. Currently our documents are stored in MS SQL and we are planning to implement KM for document management with Oracle as the database.
    Regards,
    Suresh

    The old manual style still works - create the scripts for the migration objects, then use search & replace to rename the schema for all affected objects and finally run the SQL script to create them in the Oracle database.
    - Klaus

  • Steps to create Universe from Microsoft SQL oder Oracle Database

    Hi All,
    i am looking for a document which describe the steps to create an Universe base on Microsoft SQL oder oracle database.
    Thank you in advance
    Pat

    Hi,
    These links may be help for you:
    http://www.bidw.org/business-objects/universe-design/getting-started-with-universe-design/
    http://www.sap-businessobjects.info/universe-design.htm
    All the Best,
    Madhu...

  • Sending Email from PL/SQL on Oracle 8.05...

    Hi,
    I need to send an email from PL/SQL, my database is on Windows
    server and it's 8.05 (sorry we're late on upgrading:(...)
    Thanks in advance
    Cecmlia

    Hello,
    Here is sample code for sending mail using PL/SQL.
    This PL/sql Procedure sends mails using SMTP server.
    Author - Mr. Adinath R. Kamode
    Date - 08/05/2001
    procedure sendmail is
    c utl_smtp.connection; -- Connectio type variable
    v_from varchar2(200);
    v_from1 varchar2(200);
    v_to varchar2(200);
    PROCEDURE send_header(name IN VARCHAR2, header IN VARCHAR2)
    AS
    BEGIN
    -- Generates header data required from mail
    utl_smtp.write_data(c, name || ': ' || header ||
    utl_tcp.CRLF);
    END;
    begin
    c := utl_smtp.open_connection('smtp_server.pc150'); --
    Specify your SMTP -- server
    address here
    utl_smtp.helo(c, 'pc150');
    -- Define sender and receiver
    utl_smtp.mail(c, '[email protected]');
    utl_smtp.rcpt(c, '[email protected]');
    utl_smtp.open_data(c);
    send_header
    ('From','Sender<[email protected]>');
    send_header
    ('To', 'Recipient<[email protected]>');
    send_header('Subject', 'Hello');
    utl_smtp.write_data(c, utl_tcp.CRLF || 'Hello, world!');
    utl_smtp.close_data(c);
    utl_smtp.quit(c);
    end;
    Adi

  • Using sockets with java from PL/SQL in Oracle 8.1.7 DBA

    Hey all,
    I've been struggling for a couple of weeks now with a problem. I wrote a framework around a toolkit which makes socket connections to another server. I am attempting to use the framework from within a PL/SQL script, which is calling the framework class files which have been loaded into Oracle 8.1.7 database. The problem seems to be if I grant all permissions, or socket permissions for all hosts/ports, or even the ones I know about are being used, I get a hang when trying to connect. The funny thing is, using the toolkit, if I invoke their classes directly within code written from Oracle's code editor, it will work.
    I suspect there is
    a) Some hidden permission issue
    b) A bug in the sockets implementation Oracle is using for their JVM.
    Can anyone offer insight to this problem?
    Thanks,
    Dave Blake
    [email protected]

    Hello,
    I'm trying to investigate the same thing.
    I want to make a soap-client with PL/SQL with 8i 8.1.6.0.0
    Did you succeed some additional information ??
    I tried to run the following example:
    http://www.oracle.com/technology/tech/webservices/htdocs/samples/dbwebservice/DBWebServices_PLSQL.html
    but it only works with 9i.
    With 8i the errors encountered were : XMLTYPE undefined
    Perhaps if we find the definition of XMLTYPE and we process it to 8i we'll be able to run the example ??
    thank's

  • How to change Bulk Insert statement from MS SQL to Oracle

    Hi All,
    Good day, I would like to bulk insert the content of a file into Oracle db. May I know how to change the below MS SQL syntax to Oracle syntax?
    Statement statement = objConnection.createStatement();
    statement.execute("BULK INSERT [TBL_MERCHANT] FROM '" MERCHANT_FILE_DIR "' WITH ( FIELDTERMINATOR = '~~', ROWTERMINATOR = '##' )");
    Thanks in advance.
    cs.

    Oracle SQL Loader utility allows you to insert data from flat file to database tables.
    Go to SQL Loader links on following url to learn more on this utility
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/server.920/a96652/toc.htm
    Chandar

  • Migration from MS SQL to Oracle/DB2

    Hi Gurus,
    Not sure if I post in the correct thread. But I need advice on migrating our MS SQL database to either Oracle or DB2.
    From ABAP point of view, I believe the standard SAP programs and most of our customized programs are compatiable with any database. However, what are the possiblilty that programs are only catered for MS SQL DB and not the rest? Examples like what type of coding?
    Need to know from functional side, do we have to do full functional testing on all the modules that we used? If not, any testing from functional side?
    Many many thanks in advance.
    Regards,
    Janet

    > Thanks for the info. However the thread you provided seems to be more on Basis side. Actually I am coming more from application side on which functional module areas (SD, FICO, etc....) we have to test and on ABAP side on which customized programs we should look out for to test or redevelop when migrating. Let me know if have any ideas.
    There may be impacts - yes. Each database has its own optimizer and strategy, if you have a table or an SQL statement there may be different access paths and optimization routines for every database.
    I'd say it's near to impossible to only theoretically find out how a certain application would be impacted - the only way to find that out is to do a test migration and run regression tests on each of your core applications. You may e. g. delete or create a new index or also redesign the whole statement.
    Markus

  • Adapt existing QaaWS from MS SQL to Oracle DB

    Hey there,
    I have searched for an answer on the Web but cannot find one, so perhaps you can help me:
    I am adapting an existing Query as a Web Service from an MS SQL Server to an Oracle DB. After entering the default parameter value for the Query, an error message pops up:
    "A database error occured. The database error text is: (CS) "DBDriver failed to load : C:\BOE\BusinessObjects\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\dbd_oci.dll (The specified module could not be found.)" . (WIS 10901)"
    I checked for this file, but it is there and checked WebIntelligence to connect to the Oracle DB and that works fine.
    Do you have any suggestions/ideas?
    Thanks you in advance,
    Nils May

    Hi,
    You can try the following:
    1. First check the Universe connection and make sure it is connected to right DB. Oracle or SQL Server.
    2. Copy the existing QaaWS and again select the Universe which is connected to correct DB.
    3. If that doesn't work, create a new QaaWS.
    4. If using parameter, specify parameter and verify data.
    Hope this helps.

  • Poor performance after moving from hp to linux, oracle 11.2.0.1 to 11.2.0.3, filesystems to ASM

    We moved a database from HP/UX to linux, upgraded oracle from 11.2.0.1 to 11.2.0.3, and from filesystems to ASM.  The new server has 32 cores and 500gb of memory. the old server has less than half of that.  Queries take twice as long to run on the new server as on the old server.  We've tested to eliminate I/O as the issue by creating a local filesystem and creating the database there.  The performance was still double over the old database.  We also moved the database to a 3rd server, using ASM and 11.2.0.3 of oracle for testing to prove to the systems administrator that it wasn't a database problem.  The performance on the 3rd server is incredibly fast.  This points to something on the new server.  Does anyone have any ideas of what to look at next, keeping in mind that we've tested the heck out of I/O.
    Thanks for any assistance.

    Well, a few details about your configuration could help:
    What does /proc/meminfo on the server show?
    How is the storage connected?
    What does: "# /sbin/ifconfig -a" show?
    Are you using ASMLIB or straight ASM?
    Are you using multipath connections to storage?  If so, make sure that "/etc/multipath.conf" actually identifies the composite device and not one of the physical paths.
    Are there any entries in "/var/log/messages" while running the ASM testing?
    I'm sure these questions will stimulate others.

  • Java running host command - moved from PL/SQL forums

    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE 11.1.0.6.0 Production
    TNS for HPUX: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    Hi,
    I am not familiar with Java setting in Oracle
    I have a a stored procedure that call a java program to execute host command like
    ssh user1@localhost '/home/user1/someprogram'
    if we execute this directly using PuTTY
    we can do the following with no problem
    su - oracle
    ssh user1@localhost '/home/user1/someprogram'
    but when we execute the stored procedure,
    we have to do
    */usr/bin/ssh* user1@localhost '/home/user1/someprogram'
    does anybody where to set the path or environment to make the java know the path correctly.
    thanks
    ps:. this is happen after we recently upgraded our Oracle from 9.2.0.8 to 11.1.0.6

    pgoel wrote:
    You said,
    a stored procedure that call a java program to execute host command like ssh user1@localhost '/home/user1/someprogram'SP -calls> Java Program (JP) -runs> ssh user1@localhost '/home/user1/someprogram'. is that right? I presume locahost is a database server.correct
    this is the stored procedure
    CREATE OR REPLACE PROCEDURE host_command (p_command  IN  VARCHAR2)
      AS LANGUAGE JAVA
      NAME 'Host.executeCommand (java.lang.String)';and this is the java
    create or replace and compile java source named host as
    import java.io.*;
    public class Host {
      public static void executeCommand(String command) {
        try {
          String[] finalCommand;
          if (isWindows()) {
            finalCommand = new String[4];
            // Use the appropriate path for your windows version.
            finalCommand[0] = "C:\\windows\\system32\\cmd.exe";  // Windows XP/2003
            //finalCommand[0] = "C:\\winnt\\system32\\cmd.exe";  // Windows NT/2000
            finalCommand[1] = "/y";
            finalCommand[2] = "/c";
            finalCommand[3] = command;
          else {
            finalCommand = new String[3];
            finalCommand[0] = "/bin/sh";
            finalCommand[1] = "-c";
            finalCommand[2] = command;
          final Process pr = Runtime.getRuntime().exec(finalCommand);
          pr.waitFor();
          new Thread(new Runnable(){
            public void run() {
              BufferedReader br_in = null;
              try {
                br_in = new BufferedReader(new InputStreamReader(pr.getInputStream()));
                String buff = null;
                while ((buff = br_in.readLine()) != null) {
                  System.out.println("Process out :" + buff);
                  try {Thread.sleep(100); } catch(Exception e) {}
                br_in.close();
              catch (IOException ioe) {
                System.out.println("Exception caught printing process output.");
                ioe.printStackTrace();
              finally {
                try {
                  br_in.close();
                } catch (Exception ex) {}
          }).start();
          new Thread(new Runnable(){
            public void run() {
              BufferedReader br_err = null;
              try {
                br_err = new BufferedReader(new InputStreamReader(pr.getErrorStream()));
                String buff = null;
                while ((buff = br_err.readLine()) != null) {
                  System.out.println("Process err :" + buff);
                  try {Thread.sleep(100); } catch(Exception e) {}
                br_err.close();
              catch (IOException ioe) {
                System.out.println("Exception caught printing process error.");
                ioe.printStackTrace();
              finally {
                try {
                  br_err.close();
                } catch (Exception ex) {}
          }).start();
        catch (Exception ex) {
          System.out.println(ex.getLocalizedMessage());
      public static boolean isWindows() {
        if (System.getProperty("os.name").toLowerCase().indexOf("windows") != -1)
          return true;
        else
          return false;
    Where does Java Progarm reside? On the database server filesystem OR within the Database itslef. within the Database itslef.
    Edited by: HGDBA on Mar 11, 2011 1:50 PM

Maybe you are looking for

  • Unable to find HDD after erase with disk utility

    Background id I had installed the Lion OS but then got into trouble with the "flashing question mark " at start up. After using the recovery option, Lion OS was reinstalled and things were fine for a couple of days. Then the "flashing ?" returned Thi

  • App just crashed now flashes "cleaning" on the names of certain apps

    So I was trying to export a 10 hour video then my iPhone says "storage almost full" then the app crashes and then says "cleaning" on certain app names. Anyone have the same issue? iPhone 5s on iOS 8. Thx

  • [SOLVED] Gnome Nautilus File Browser Make Open Folder open in browser

    Hi, I fixed this on my desktop a while back, can't seem to remember how. I want it that that so if i click on a folder, it opens with full browser, not just the folder itself. Last edited by playdafunkimuzic (2009-01-01 05:50:15)

  • Help!!  Seriously Frustrating Mouse Problem!!

    I can't seem to figure out where the problem lies. It must be the computer or OS because I've tried different mouses and the same thing is happening: Clicking the mouse seems to keep registering as 2 clicks! Its as if it is registering the release of

  • Need assists with a project

    Hi guys Can someone show me an aexample of how to put this formula in to Java code. 10 y(n) = ∑ [ci   + ( xi0di � ci ) cos ( √ a,c,n - Өi ) ] i=1 di di cosӨi where 0 � [0,2 π), n ranges from 0 to 399, and a,b,c and d are real numbers with values grea