gpt4 book ai didi

oracle - 数字数据类型在 SQL Plus 中显示为 #

转载 作者:行者123 更新时间:2023-12-04 14:45:49 25 4
gpt4 key购买 nike

数字数据类型显示为 # 而不是 SQL Plus 中的数字。

请引用 H_RATE 之前它正确显示的问题,我已经在互联网和 stackoverflow 上搜索了类似的问题或答案,但没有一个是相同的。

你能帮忙修复它,让它显示数字而不是#吗?

screenshot off issue in action

最佳答案

#如果该值不能放入列中,则显示; from the SQL*Plus documentation :

If a value cannot fit in the column, SQL*Plus displays pound signs (#) instead of the number.



如果它显示正常而现在不是,我认为您可能设置的列格式对于您显示的值来说太小了,例如 column h_rate format 9999999999 .如果您有一个 10 位数字还不够,因为它需要一个字符来显示 +/- 符号。

您可以通过清除所有列定义来检查是否是这种情况,使用 clear columns .

关于oracle - 数字数据类型在 SQL Plus 中显示为 #,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20149371/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com