Emacs comes with sql-mode for syntax highlighting, and sql-oracle for interacting with the sqlplus tool. It's pretty sweet, C-c C-c sends the current paragraph to sqlplus, C-c C-b sends the whole file ...