如何使列在SQL Oracle上并排出现?

问题描述 投票:0回答:1

I just downloaded Oracle 11g Express Edition and I'm facing this problem. I have tried setting pagesize and linesize but it doesn't work.

oracle sqlplus
1个回答
0
投票

请参见Formatting SQL*Plus reports

在您的情况下,NAME是VARCHAR数据类型,因此您需要将name列的宽度设置为所需的字符显示格式长度。例如:

COLUMN STUDENT_NAME FORMAT A15

如果名称的最大长度超过15,则将其增加到适当的长度。

© www.soinside.com 2019 - 2024. All rights reserved.