views:

623

answers:

5

Which is the best Open Source free client for querying an Oracle database? It may additionally support other databases (MySQL, Postgres etc), since our development environment often requires switching between different databases.

A: 

The real answer (for any platform and database) is just use ODBC. E.g. on POSIX, unixODBC. Oracle of course supports the standard with their own drivers.

Matthew Flaschen
+2  A: 

What kind of "client" do you mean? Do you mean the actual drivers, or just an application you can get SQL results from? eg, SQuirrel SQL

Matthew Watson
+4  A: 

If by open-source you really mean free, then Oracle SQL Developer is free. However it is not open-source. It is fully supported though, we use it where I work all the time.

If you're interested you can go here for a good starting reference on its features.

Ryan Thames
+1  A: 

Well Oracle provide SQL Developer for free, which is basically an Oracle IDE - lets you browse tables, code editor for PLSQL, SQL query window etc ...

Stephen ODonnell
+7  A: 

I have been using the Oracle SQL Developer (because it's free) and at first hated every minute spent with it. I am still having weird problems with graphics, as it's running on Vista and there seems to be some sort of graphics driver problem (luckily, no-one can get it to run properly on Vista, so I am not alone in this), which makes its use quite cumbersome.

Nevertheless I had to learn how to cope with it and now I must admit it's a neat and very useful tool (NOT ONLY) for querying an Oracle database. I suppose you could query other DBs from it as well, for instance I have used it to query some legacy MS Access DBs, and so I believe you could query SQL Server as well.

You can do data migrations, imports/exports, see OWA output, and allegedly also DEBUG (step through, set breakpoints, etc...) PL/SQL code, but I haven't tried this. I have been fine with sqlplus command-line so far :) Do give it a try, and don't let the Vista-related graphics problems give you a wrong impression :)

Peter Perháč
For the visual glitching issues, the use of a JDK that is NOT included with SQL Developer seemed to resolve the problem.
Adam Hawkes
I will certainly try that! I am really tired of that, although I found my ways around the problems, it just sometimes drives me crazy. Thanks for the advice
Peter Perháč
Just as a note I believe that the Vista Issues are with Java and not Oracle Sql Developer. Something about how Java re-draws the form.
runxc1 Bret Ferrier
Well, very much depends on what angle you are looking at it from. Java redraws it all fine on an XP but not on Vista. You're quite right, could be problem on the Java side of it, but to me it looked like Vista-related (having seen it working on XP correctly).
Peter Perháč
You could try disabling direct draw in your Java run time options-Dsun.java2d.noddraw=true(more info at http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html)
Greg Reynolds