This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JDBC and the fly likes Oracle and SQLServer 2005 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Oracle and SQLServer 2005" Watch "Oracle and SQLServer 2005" New topic
Author

Oracle and SQLServer 2005

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 622
Hi all,

Till now, I have only been writing queries for Oracle database. Now I am planning to start writin queries for SQLServer 2005 database and I was wondering if the queries syntax would be same. Also if there is a good tutorial for SQLServer2005, Can someone please post a link here?

Thanks.


Be Humble... Be Nice.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32651
    
    4
fficial&client=firefox-a" target="_blank" rel="nofollow">Google is your friend.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

There is also extensive T-SQL documentation on MSDN.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 622
Originally posted by Paul Sturrock:
There is also extensive T-SQL documentation on MSDN.


But T-SQL is similar to Pl/sql right?/ My question is if the normal sql we use, the crud operations, joins etc... if their syntax is same for both oracle and sql server 2005.

Thanks.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Both servers support ANSI92 SQL, so assuming you have used ANSI92 SQL then yes, it should be fine.

If you have to support portability accross more than one database type you could look at JPA.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oracle and SQLServer 2005
 
Similar Threads
JDBC connection..
Oracle or SQL Server?
Hibernate over Jdbc
JDBC Drivers
Is sql statements in oracle and sql server are same?