Oracle
  Home arrow Oracle arrow Page 7 - Step-By-Step Guide to Importing Data from Oracle XE to SQL 2005
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
ORACLE

Step-By-Step Guide to Importing Data from Oracle XE to SQL 2005
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 6
    2006-06-21


    Table of Contents:
  • Step-By-Step Guide to Importing Data from Oracle XE to SQL 2005
  • Call up the wizard
  • The destination of the data
  • The nature of the data transferred
  • Saving and executing the package
  • Wizard's Summary report
  • Comparison of Department and Employees tables after importing

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Step-By-Step Guide to Importing Data from Oracle XE to SQL 2005 - Comparison of Department and Employees tables after importing
    ( Page 7 of 7 )

    The next set of pictures shows the tables in their own platforms so that you can make comparisons. It looks like SQL 2005 did a pretty good job with the copying of the columns. However, the primary key information is lost and so are the indexes, and more. A detailed discussion of the differences is outside the scope of this tutorial. The NUMBER data type in Oracle XE goes over directly to the Decimal data type in SQL 2005 Server; similar differences exist for varchar and varchar2 data types. To quote from their documentation:

    Oracle XE
    NUMBER [(precision [, scale]]) Number having precision p and scale s. The precision p can range from 1 to 38. The scale s can range from -84 to 127.
    Sql 2005

    The decimal data type can store a maximum of 38 digits, all of which can be to the right of the decimal point. The decimal data type stores an exact representation of the number; there is no approximation of the stored value. The two attributes that define decimal columns, variables, and parameters are: p Specifies the precision, or the number of digits the object can hold. s Specifies the scale or number of digits that can be placed to the right of the decimal point. p and s must observe the rule: 0 <= s <= p <= 38. The default maximum precision of numeric and decimal data types is 38. In Transact-SQL, numeric is functionally equivalent to the decimal data type.

     

    To explain this by way of images, compare this one from Oracle XE:

    with this one from SQL 2005 Server:

    Likewise, compare this image from Oracle XE:

    with this one from SQL 2005 Server:

    Summary

    SQL 2005 Server's Integrated Services does a pretty good job of data transfer as shown here. The comparative view of tables shows some of the differences. A similar comparison for other tables and objects should give you a good idea of how data is handled in the two database programs, an invaluable aid if you are interested in ETL. There are quite a number of differences between DTS and SSIS as you might have noted, assuming you experienced the earlier version. Oracle XE is also a cool package, free, and can be upgraded easily from this version. You may also notice that Oracle XE gives you a lot more information on a table than SQL 2005 does, all in one screen.  Thus begins the battle of the titans.



     
     
    >>> More Oracle Articles          >>> More By Jayaram Krishnaswamy
     

       

    ORACLE ARTICLES

    - Oracle's Turn to Play in the Sun
    - Implementing and Using Oracle`s Restore Poin...
    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek