Domanda

maybe this is an already answered question, but I am relatively new to Oracle DB and couldn't find my answer around the Internet. So I have created a table in Oracle and when running the SELECT statement the output shows me columns like this:

Oracle SQL Developer

Please if anyone can explain how to rearrange the columns so, the values from CITY column go under the City column, and the Customer_Name goes under that output column. Thanks in advance!

È stato utile?

Soluzione

This is not an Oracle or SQL Developer problem.

The problem is the font you use. It is variable-width and there is just no way to properly align output with that. Use a fixed-width (monospaced) font and alignment just works out of the box.

https://en.wikipedia.org/wiki/List_of_monospaced_typefaces

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a dba.stackexchange
scroll top