Helo,
I am using oracle 10g and the output coming when SELECT command is in a zig zag format. How I can arrange coulumns in correct order? Is there any command?
Helo,
I am using oracle 10g and the output coming when SELECT command is in a zig zag format. How I can arrange coulumns in correct order? Is there any command?
If you are using sqlplus you can control output formatting via "COLUMN" commands.
I suspect the zigzagging has something to do with the size of your terminal and the length of the columns you are selecting.
If you first format each column to an appropriate length and then do your select, you should see better output. You can refine it from there.
Google "sqlplus reference" you will find more details about how to use sqlplus.
And perhaps you might be interested in reseting, "pagesize" and "linesize" parameters.
SQL> set pagesize 30
SQL> set linesize 90