Formatting output of queries in SQLPlus
I'm working with SQLPlus at the moment and whenever I query the Database, the result is in a complete mess. In other words, it is hard to read. I wonder if anyone knows how to format the output of queries ( columns, tables.. etc) in SQLPlus that is running on Unix server. But, I am accessing the server from my windows. And, Could anyone tell me where I can get SQLPlus for Ubuntu from? Cheers, Okay, start with this in SQL Plus: SET LINESIZE 20000 TRIM ON TRIMSPOOL ON SPOOL output.txt -- run your queries here SPOOL OFF EXIT Also, René Nyffenegger has a whole section dedicated to Beautifying SQL