Oracle's column formatting causes field values to be displayed as "# # #" approach

Source: Internet
Author: User

Questions:

Query a field, the result field value display is All "# # #

Reason:

Before making other queries, the same field name was formatted:col value format A20, which causes the column data to show an exception;

Workaround:

1. Exit the current session and log back in

Exit

Sqlplus/nologin

Conn/as SYSDBA

2. Formatted clear:column field name Clear

That is:col Value Clear


Later, after careful query, the error field itself is the Number data type, and the previous query time format of the same name field is varchar2, so, do the column format must be error.

Since it is a number type, it is also possible to handle this problem in the same way as Col value format 9999 , in addition to the top 2 methods.

Oracle's column formatting causes field values to be displayed as "# # #" approach

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.