SQL Workbench/J, a cross-platform, DBMS-independent SQL query tool, is available for free. It is written in Java, and should run on any OS that has a Java Runtime Environment. Its main focus is to run SQL scripts, either interactively or in batches, and export/import functions. Graphical query building and more advanced DBA tasks do not fall under the purview of this program. Powerful export command to create text files (aka "CSV") or XML, HTML, SQL (including BLOB) With one command, all user tables can be exported to a directory. Export files can be compressed automatically. You can import text, XML, and spreadsheets with power. One command can import a set of files, including compressed files, from a directory. To insert the data correctly, foreign key constraints are detected. For differences, compare two database schemas. XSLT can transform the XML output into the appropriate SQL ALTER statements.