Sql server to Oracle migration using java

I am doing a project in which i need to create a java application which migrates sql server(2000) db to oracle..kindly help me out

Thanks for your help..i do not want any third party
components..i am almost done with the tables
migration and am trying to figure out about
procedures..here is a code which does migrate
tables...hope it helps you too!
* Copyright Isocra Ltd 2004
* You can use, modify and freely distribute this file
as long as you credit Isocra Ltd.
* There is no explicit or implied guarantee of
functionality associated with this file, use it at
your own risk.
package com.isocra.util;
import java.sql.DatabaseMetaData;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.PreparedStatement;
import java.sql.ResultSetMetaData;
import java.util.Properties;
import java.io.FileInputStream;
import java.io.IOException;
* This class connects to a database and dumps all
the tables and contents out to stdout in the form
of
* a set of SQL executable statements
ublic class db2sql {
/** Dump the whole database to an SQL string */
public static String dumpDB(Properties props) {
String driverClassName =
props.getProperty("driver.class");
String driverURL =
props.getProperty("driver.url");
// Default to not having a quote character
String columnNameQuote =
props.getProperty("columnName.quoteChar", "");
DatabaseMetaData dbMetaData = null;
Connection dbConn = null;
try {
Class.forName(driverClassName);
dbConn =
DriverManager.getConnection(driverURL, props);
dbMetaData = dbConn.getMetaData();
catch( Exception e ) {
System.err.println("Unable to connect to
database: "+e);
return null;
try {
StringBuffer result = new StringBuffer();
String catalog =
props.getProperty("catalog");
String schema =
props.getProperty("schemaPattern");
String tables =
props.getProperty("tableName");
ResultSet rs =
dbMetaData.getTables(catalog, schema, tables,
null);
if (! rs.next()) {
System.err.println("Unable to find any tables
matching: catalog="+catalog+" schema="+schema+"
tables="+tables);
rs.close();
lse {
// Right, we have some tables, so we
can go to work.
// the details we have are
// TABLE_CAT String => table catalog (may be null)
// TABLE_SCHEM String => table schema
(may be null)
// TABLE_NAME String => table name
// TABLE_TYPE String => table type. Typical types
are "TABLE", "VIEW", "SYSTEM TABLE", "GLOBAL
TEMPORARY", "LOCAL TEMPORARY", "ALIAS", "SYNONYM".
// REMARKS String => explanatory
comment on the table
// TYPE_CAT String => the types
catalog (may be null)
// TYPE_SCHEM String => the types
schema (may be null)
// TYPE_NAME String => type name (may
be null)
// SELF_REFERENCING_COL_NAME String
=> name of the designated "identifier" column of a
typed table (may be null)
// REF_GENERATION String => specifies
how values in SELF_REFERENCING_COL_NAME are created.
Values are "SYSTEM", "USER", "DERIVED". (may be
null)
// We will ignore the schema and
stuff, because people might want to import it
somewhere else
// We will also ignore any tables
that aren't of type TABLE for now.
// We use a do-while because we've
already caled rs.next to see if there are any rows
do {
String tableName = rs.getString("TABLE_NAME");
String tableType =
rs.getString("TABLE_TYPE");
if
("TABLE".equalsIgnoreCase(tableType)) {
result.append("\n\n--
"+tableName);
result.append("\nCREATE TABLE
"+tableName+" (\n");
ResultSet tableMetaData =
dbMetaData.getColumns(null, null, tableName, "%");
boolean firstLine = true;
while (tableMetaData.next()) {
if (firstLine) {
firstLine = false;
} else {
// If we're not the first line, then finish
the previous line with a comma
result.append(",\n");
String columnName =
tableMetaData.getString("COLUMN_NAME");
String columnType =
tableMetaData.getString("TYPE_NAME");
// WARNING: this may give
daft answers for some types on some databases (eg
JDBC-ODBC link)
int columnSize =
tableMetaData.getInt("COLUMN_SIZE");
String nullable =
tableMetaData.getString("IS_NULLABLE");
String nullString =
"NULL";
if
("NO".equalsIgnoreCase(nullable)) {
nullString = "NOT
NULL";
result.append("
"+columnNameQuote+columnName+columnNameQuote+"
"+columnType+" ("+columnSize+")"+" "+nullString);
tableMetaData.close();
// Now we need to put the
primary key constraint
try {
ResultSet primaryKeys =
dbMetaData.getPrimaryKeys(catalog, schema,
tableName);
// What we might get:
// TABLE_CAT String => table catalog (may be null)
// TABLE_SCHEM String =>
table schema (may be null)
// TABLE_NAME String =>
table name
// COLUMN_NAME String =>
column name
// KEY_SEQ short =>
sequence number within primary key
// PK_NAME String =>
primary key name (may be null)
String primaryKeyName =
null;
StringBuffer
primaryKeyColumns = new StringBuffer();
while
(primaryKeys.next()) {
String thisKeyName =
primaryKeys.getString("PK_NAME");
if ((thisKeyName !=
null && primaryKeyName == null)
||
(thisKeyName == null && primaryKeyName != null)
||
(thisKeyName != null && !
thisKeyName.equals(primaryKeyName))
||
(primaryKeyName != null && !
primaryKeyName.equals(thisKeyName))) {
// the keynames
aren't the same, so output all that we have so far
(if anything)
// and start a
new primary key entry
if
(primaryKeyColumns.length() > 0) {
// There's
something to output
esult.append(",\n PRIMARY KEY ");
if
(primaryKeyName != null) {
result.append(primaryKeyName); }
esult.append("("+primaryKeyColumns.toString()+")");
// Start again with the new name
primaryKeyColumns
= new StringBuffer();
primaryKeyName =
thisKeyName;
// Now append the column
if
(primaryKeyColumns.length() > 0) {
rimaryKeyColumns.append(", ");
primaryKeyColumns.append(primaryKeys.getString("COLUMN
_NAME"));
if (primaryKeyColumns.length() > 0) {
// There's something
to output
result.append(",\n
PRIMARY KEY ");
if (primaryKeyName !=
null) { result.append(primaryKeyName); }
result.append("
("+primaryKeyColumns.toString()+")");
tch (SQLException e) {
// NB you will get this
exception with the JDBC-ODBC link because it says
// [Microsoft][ODBC
Driver Manager] Driver does not support this
function
ystem.err.println("Unable to get primary keys for
table "+tableName+" because "+e);
result.append("\n);\n");
// Right, we have a table, so
we can go and dump it
dumpTable(dbConn, result,
tableName);
hile (rs.next());
rs.close();
dbConn.close();
return result.toString();
} catch (SQLException e) {
e.printStackTrace(); //To change body of catch
statement use Options | File Templates.
return null;
/** dump this particular table to the string
buffer */
private static void dumpTable(Connection dbConn,
StringBuffer result, String tableName) {
try {
// First we output the create table stuff
PreparedStatement stmt =
dbConn.prepareStatement("SELECT * FROM "+tableName);
ResultSet rs = stmt.executeQuery();
ResultSetMetaData metaData = rs.getMetaData();
int columnCount =
metaData.getColumnCount();
// Now we can output the actual data
result.append("\n\n-- Data for "+tableName+"\n");
while (rs.next()) {
result.append("INSERT INTO "+tableName+" VALUES
for (int i=0; i<columnCount; i++) {
if (i > 0) {
result.append(", ");
Object value = rs.getObject(i+1);
if (value == null) {
result.append("NULL");
lse {
String outputValue =
value.toString();
outputValue =
outputValue.replaceAll("'","\\'");
esult.append("'"+outputValue+"'");
result.append(");\n");
rs.close();
stmt.close();
} catch (SQLException e) {
System.err.println("Unable to dump table
"+tableName+" because: "+e);
/** Main method takes arguments for connection to
JDBC etc. */
public static void main(String[] args) {
if (args.length != 1) {
System.err.println("usage: db2sql <property
file>");
// Right so there's one argument, we assume it's a
property file
// so lets open it
Properties props = new Properties();
try {
props.load(new FileInputStream(args[0]));
System.out.println(dumpDB(props));
} catch (IOException e) {
System.err.println("Unable to open
property file: "+args[0]+" exception: "+e);
}hi,
Thanks i used your coding and it works well...
i also used other thing i inserting the queries and values in another schema with primary and foreign keys.. it works well..
but problem is i cannot retrieve the unique constraint and other check constraint..
i cannot insert it..
and also i cannot create table in order i create the original..
because the retrieve query s values display based on ascending order i want display query in creation time...
because when i foreign keys .. the references in available before i create the table..that means a(table name) followed b(table name) .. a(table name) has contain foreign key of b(table name) .. but b (table name) not yet to create .. is possible.. to retrieve based creation time...

Similar Messages

  • SQL Server to Oracle migration with SQL Server DTS

    I migrate database from SQL Server to Oracle with SQL Server DTS. the process is success. I can select table_name from user_tables or user_objects. I also can see the table from DBA Studio. But When I use desc to list the structure of table in SQLPLUS. it tell me object don't exist.
    What is wrong?
    Thanks

    use sp_help <tablename>

  • SQL SErver to Oracle Migration Issue

    Hi All,
    I am facing a problem migrating from SQL Server2005 to Oracle 11g
    The Capture doesnt capture all the objects, it is capturing only one table from SQL SErver( IThas close to 300 Objects)
    When we try to capture the SQL Server Objects we are getting a JDBC access Error,
    This is the exact error we are getting,
    "Error while registering Oracle JDBC Diagnosability MBean"
    The version of SQL Server is 2005, and the version of Oracle is Oracle 11g, With the latest Download of SQL Developer.
    Are there any work arounds for this problem.
    Thanks in Advance

    Which driver are you using?
    We test using JTDS http://jtds.sourceforge.net/
    Looks like others have got this connecting to Oracle 11g.
    Error while registering Oracle JDBC Diagnosability MBean - version 1.2.1
    In which case its not the problem of the 3rd party driver.
    This thread seems to suggest that its an Oracle JDBC problem. It might be rectified by downloading the latest driver from otn.
    Re: SEVERE: Error while registering Oracle JDBC Diagnosability MBean
    I hope this helps
    Dermot.

  • SQL Server to Oracle Migration

    We are using Aqua Logic BPM V5.7. The BPM databases (BEA_FDI & BEA_WL_ENGINE) are housed in SQL Server 2000 database.
    Now, I am planning on migrating the databases to Oracle 10g, does bea have any migration guide? Please provide guidelines for approaching the project.
    Any help would be greatly appreciated.

    hi
    I'm not clear,
    but check here
    CREATE OR REPLACE PROCEDURE "EDW_INITIALIZE_TMP_SQL" (
    tablename IN VARCHAR2 DEFAULT NULL,
    sql_ IN OUT VARCHAR2)
    AS
    source
    Remove it and try again.
    Where is the function the code u have written is for procedure.
    Trinath Somanchi,
    Hyderabad.

  • Load Data from SQL Server to Oracle 10g using Sql*loader utility

    I am trying to lod data from sql server 2005 to oracle 10g.
    What is the best way to do it?
    Can sql*loader utility do it?
    what is the difference of using sql*loader utility and migration tool fom sql developer ?
    Thanks
    Edited by: user11313758 on Sep 30, 2009 4:30 PM

    Hello:
    You could consider using Oracle Heterogeneous Services to do this. If your Oracle database is on a Windows platform the link below shows you how to make a connection to SqlServer from an Oracle database.
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    Varad

  • No suitable driver when connect MS SQL server from Oracle 10g using JTDS

    Hi,
    I have developed a java servlet application connection to MS SQL using jtds-1.2.jar. I have try to deploy this application to Oracle 9ias and it works fine.
    However, when I deploy the same application to Oracle 10g (10.1.2.0.2), I encounter this error - java.sql.SQLException: No suitable driver.
    I have copy the jtds-1.2.jar to Ora10g/jdbc/lib, Ora10g/j2ee/home/lib and also the Ora10g/j233/OC$J_GENERAL/applications/sampleApp/sampleApp/WEB-INF/lib folder, and also setup the data source via the EM interface. The data-source.xml entry is as follows:
    <data-source location="jdbc/ess" class="com.evermind.sql.DriverManagerDataSource" xa-location="jdbc/xa/essS" ejb-location="jdbc/ess" connection-driver="net.sourceforge.jtds.jdbc.Driver" username="scott" url="jdbc:jtds:sqlserver://202.xx.xx.xx:1433/sampleDB" inactivity-timeout="30" name="ess"/>
    </data-sources>
    Is there any configuration that I've forgotten to set?

    >
    I have developed a java servlet application
    connection to MS SQL using jtds-1.2.jar. I have try
    to deploy this application to Oracle 9ias and it
    works fine.
    However, when I deploy the same application to Oracle
    10g (10.1.2.0.2), I encounter this error -
    java.sql.SQLException: No suitable driver.
    I have copy the jtds-1.2.jar to Ora10g/jdbc/lib,
    Ora10g/j2ee/home/lib and also the
    Ora10g/j233/OC$J_GENERAL/applications/sampleApp/sample
    App/WEB-INF/lib folder, and also setup the data
    source via the EM interface.
    Is there any configuration that I've forgotten to set?The JAR file needs to be in a place the container can locate it correctly. This is the applib directory for your OC4J instance.
    Which I believe from what you have entered is:
    Ora10g/j2ee/OC4J_GENERAL/applib
    There's a general JDBC 3rd party driver set of documentation here:
    http://download.oracle.com/docs/cd/B14099_11/web.1012/b14012/datasrc.htm#sthref592
    This is not using jtds-1.2.jar but it shows how another set of 3rd party jdbc libs are used with the server.
    -steve-

  • How to connect to a Sql server from Oracle using db link

    Hi All,
    Does anybody have any idea about how to connect to a sql server from oracle database using db link to syncronize the data? I need to pull the data from Sql server table to Oracle tables and relay messages back to the sql server.
    Thank you,
    Praveen.

    we have 2 products - DG4MSQL and DG4ODBC.
    DG4ODBC is for free and requires a 3rd party ODBC driver and it can connect to any 3rd party database as long as you use a suitable ODBC driver
    DG4MSQL is more powerfull as it is designed for MS SQL Server databases and it supports many functions it can directly map to SQL Server equivalents - it can also call remote procedures or participtae in distributed transactions. Please be aware DG4MSQL requires a license - it is not for free.
    Check out Metalink and you'll find notes how to configure both products.
    For a generic overview:
    Note.233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases
    And the setup notes:
    DG4ODBC
    Note.561033.1 How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) :
    Note.466225.1 How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit RDBMS.HS-3-2 :
    Note.109730.1 How to setup generic connectivity (HSODBC) for 32 bit Windows (Windows NT, Windows 2000, Windows XP, Windows 2003) V817:
    Note.466228.1 How to Setup DG4ODBC on Linux x86 32bit
    DG4MSQL
    Note.466267.1 How to Setup DG4MSQL (Database Gateway for MS SQL Server) on Windows 32bit
    Note.562509.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX)
    Note.437374.1 How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux

  • Migrate from sql server to oracle

    can anyone help me how to migrate from sqlserver to oracle

    Hi;
    i have been searching in google if anybody having live experience in migration pl help meOk than i am helping you,checked google search and found below links from search. They should help you friend. Please see:
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html
    Also see:
    SQL Server to Oracle migration queries
    SQL Server to Oracle migration queries
    If have still question than update thread.
    Regard
    Helios

  • Entity Framework - Code First - Migration - How to access SQL Server and Oracle using the same context?

    Hello,
    I use Entity Framework code first approach.
    My project is working fine with SQL Server. But, I want to access Oracle too. I want to switch SQL Server and Oracle in run time.
    I am able to access Oracle using "Oracle.ManagedDataAccess.EntityFramework.dl" in a new project.
    But, Is this possible to access SQL Server and Oracle in the same project.
    Thanks,
    Murugan

    This should be possible with a Code-First workflow.  In Code-First the database mapping layer is generated at runtime.
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Migrating from SQL Server to ORACLE using SqlDeveloper tool - IN OUT CURSOR

    Hi All,
    I am new to Oracle. I am asked to migrate a database from SQL Server to ORACLE. I have migrated all the SP's and functions except 2. I am facing the following problem. Pls do reply me if anyone knows the solution since I am struggling for the past 2 days for these two functions
    the function is as follows in ORACLE.
    create or replace
    FUNCTION ABC
    AA IN VARCHAR2,
    BB IN DATE,
    CV_1 IN OUT SYS_REFCURSOR
    When I tried to call from some other function its showing me an error.
    I called from another function as follows:
    ABC(CC,DD,CV_2);
    Shall I know how to call the above function? I feel someone has faced the same problem before. Thanks in advance for the help.
    Thanks,
    Srinivasan.T

    Its returing a number only. I am just giving part of the function.
    create or replace
    FUNCTION ABC
    AA IN VARCHAR2,
    DD IN DATE,
    CV_1 IN OUT SYS_REFCURSOR
    RETURN NUMBER
    AS
    When I call the function which has a IN OUT SYS_REFCURSOR as a parameter I am facing this problem.
    I need to know how to call a function which has the IN OUT SYS_REFCURSOR parameter.
    Thanks,
    Srinivasan.T

  • Migrating a table with BLOB field from SQL-Server to Oracle.

    Hi All,
    I'm trying to create a Class to migrate data from SQL-Server to Oracle, this table has a BLOB field.
    The Code:
    package br.com.infox;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.Statement;
    public class Migrador {
         public static void main(String[] args){
              try {
                   // Conex�o com o SQL Server
                   Class.forName("net.sourceforge.jtds.jdbc.Driver");
                   Connection conSQL = DriverManager.getConnection ("jdbc:jtds:sqlserver://10.10.2.9/protocolo","prot","suinf2002");
                   // Conex�o com o Oracle
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                   Connection conORA = DriverManager.getConnection ("jdbc:oracle:thin:@10.10.2.2:1521:des","protocolo","protocolo");
                   Statement stSQL = conSQL.createStatement();
                   String querySQL = "SELECT * FROM DOC_INCORPORADO";
                   ResultSet rsSQL = stSQL.executeQuery(querySQL);
                   String queryORA = "INSERT INTO PROT_VITALICIAMENTO (NU_PROCESSO, ANO_PROCESSO, CD_USUARIO, DT_ENVIO," +
                             "DE_COMPLEMENTO, NM_ARQUIVO, ARQUIVO, NU_SEQ, CD_TIPO_ARQUIVO, MES, ANO) VALUES (?,?,?,?,?,?,?,?,?,?,?)";
                   PreparedStatement psORA = conORA.prepareStatement(queryORA);
                   while (rsSQL.next()){
                        System.out.println("Linha: " + rsSQL.getRow());
                        psORA.setInt(1, rsSQL.getInt("nu_processo"));
                        psORA.setInt(2, rsSQL.getInt("ano_processo"));
                        psORA.setInt(3, rsSQL.getInt("cd_usuario"));
                        psORA.setDate(4, rsSQL.getDate("dt_incorporacao"));
                        psORA.setString(5, rsSQL.getString("complemento"));
                        psORA.setString(6, rsSQL.getString("nm_arquivo"));
                        psORA.setBinaryStream(7, rsSQL.getBinaryStream("arquivo"), (int)rsSQL.getBlob("arquivo").length());
                        psORA.setInt(8, rsSQL.getInt("num_seq"));
                        psORA.setInt(9, rsSQL.getInt("cd_tipo_arquivo"));
                        psORA.setInt(10, rsSQL.getInt("mes"));
                        psORA.setInt(11, rsSQL.getInt("ano"));
                        psORA.executeUpdate();
                   stSQL.close();
                   psORA.close();
                   conORA.close();
                   conSQL.close();
              } catch (Exception e){
                   e.printStackTrace();
    The ERROR:
    java.sql.SQLException: Exce��o de E/S: Connection reset
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
         at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:3668)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2191)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2064)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2989)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
         at br.com.infox.Migrador.main(Migrador.java:41)
    What's the problem of these Class?
    Thank's.

    Depending on the version of the database you have, you could use transportable tablespaces.
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96524/c04space.htm#9370

  • Related to migration of db from sql server to oracle 11 g

    We're trying to migrate a Sql server managment studio database to Oracle 11g using SQL Developer 4.0. We can successfully connect to both Sql server managment studion 8.0 and Oracle 11g using the tool, as well as click through the Migration Wizard and start the migration.
    This opens the Database Migration dialog box, which indicates the capture process starts normally. we get the following error:
    ora :01440 : can not insert null into migrlog (id column) ,
    \and then after some time , i get an error that migration failed
    i am not getting the reason,I thing it may be due to reason that , I have table's column in my source db with more than 30 character.
    If i am migrating one by one table . then it is not giving any error, and identifier name is getting shrink in 30 character. but i am not getting the view , stored procedure , indexes , and others
    then what is the solution  for that, somebody pls suggest any help?????????????               

    Pl do not post duplicates - related to migration of db from sql server to oracle 11 g
    Continue the discussion in your original thread
    The error message is explicitly clear
    ora :01440 : can not insert null into migrlog (id column)
    Your process is trying to insert a NULL value into the ID column, which presumably cannot be NULL

  • Migration from SQL server to Oracle

    Hi,
    Has anybody done migration from the SQL server to Oracle? If so, what manual method do you recommend? I'm a new college grad and I would like to get your expertise, if you have done this in the past.
    Thanks in advance!
    Sho

    It is some time back, so I do not remember the specifics. Oracle gives Oracle Migration Workbench for free. You can use it to convert all SQL tables and procedures etc to oracle. It is not that difficult. If there are no stored procedures etc, you can just extract the DDL and create the tables with minor changes to the script. You might need bcp-sqlloader/trasparent gateway etc copy the data.
    Giby

  • Migration from SQL server to Oracle 10g

    Hi, I am new here,
    I would like to ask how to use SQL developer MWB to migration SQL Server to Oracle?
    I have go through the doc(s) like: getting start, user's guild, etc. and have following problems
    (1), where should the SQL developer installed? in SQL Server side? Oracle side? or any PC with connection to the databases?
    (2), do I need to get some plug-in(s) for MWB to work? If yes, which plug-in do I need and where are they?
    Thank you very much.

    Hi Chocobo,
    I put together a Quick Guide myself
    http://dermotoneill.blogspot.com/2008/06/sql-developer-migration-workbench-151_11.html
    I updated it to answer your questions.
    Hope that helps
    Dermot.

  • Migration from SQL Server to Oracle 8i

    Hi,
    what are the general issues to be considered when migrating a database from SQL server to Oracle 8i.
    Is it documented on the web/ or any publication
    Samit

    What we did was to create the schema using migration work bench and then transfer the data using data junction
    The main issues that you have to handle are
    1) Data type issue, here problem comes converting chars to varchars as chars are padded and may not work in indexes, so you have to trim the afterwards, and if you have any image type data types in Sqlserver, you can use either lobs or long raw, it again depends upon your application, if you uses lobs you may have to recode your application
    2) Sql statements, Oracle cannot understand Sqlserver sql statements, so you have to convert them all. Sqlserver allows two outerjoins to a table, Oracle does not, so you have to modify your functionality
    3) Connections to the database. if you are using ODBC then use Oracle ODBC drivers and the latest ones, otherwise you may encounter memory leaks.
    These are from the top of my head, if you have any specific problem I may be able to help.
    Good luck

Maybe you are looking for