如果字段超过列维度,Oracle 结果将跳过行

Oracle result skips row if field exceeds column dimensions

我想知道 return 是否在放大某个主题的信息。为了适合 4:3 显示器,我将行大小限制为 138,放大字段的字符限制为 30。经常,我会收到 ~90-120 个字符长的评论。

它溢出到下一行很好,但它似乎添加了一个回车return,导致它和下一个结果之间有一个空行。这使得在视觉上很难将相似的组放在一起,有没有办法让它不跳过那条额外的行?

假设您正在使用 SQL*另外,您可以:

set recsep off

From the documentation:

RECSEP tells SQL*Plus where to make the record separation.

For example, if you set RECSEP to WRAPPED, SQL*Plus prints a record separator only after wrapped lines. If you set RECSEP to EACH, SQL*Plus prints a record separator following every row. If you set RECSEP to OFF, SQL*Plus does not print a record separator.

您看到的是默认的 wrapped 行为,因为您的长行正在换行。将其设置为 off 会停止添加额外的行。