This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Migrating Oracle to SQL Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Migrating Oracle to SQL Server" Watch "Migrating Oracle to SQL Server" New topic

Migrating Oracle to SQL Server

Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
What are the necessary steps has to be taken to migrate and how it affects the SQL queries used in Oracle as there are specific functions in their own DB.
Is there any resource to verify queries to work on both the servers.

SCJP 1.5, SCEA, ICED (287,484,486)
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

Most functions in oracle are specific to oracle and will have to be changed to the SQLServer equivalent(ie to_char(date,'format'), to_date('string','format'), trunc(), mod(), round()...etc.). If your programs stuck just to standard SQL then there should not be many glitches. You might have to change escape characters and maybe wildcard search characters.
I'm sure there is more, but I don't work with JDBC and SQL server to know enough.
One more thought is to make sure that the new driver for MS SQLServer has the same capabilities as the Oracle drivers.
Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
I found one useful link,
regd. everything bw both the DB's
[This message has been edited by Anil Vupputuri (edited August 14, 2001).]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Migrating Oracle to SQL Server
It's not a secret anymore!