Home > database > About use DBMS_OUTPUT in PLSQL. PUT_LINE print a line breaks a demerit
About use DBMS_OUTPUT in PLSQL. PUT_LINE print a line breaks a demerit
Time:10-25
Use DBMS_OUTPUT in PLSQL. PUT_LINE loop to print out the results, successfully the output, but found the result regularly every 56 'guild house broken into two lines,
But if just using SQL query results directly, can display properly, what reason be excuse me, how to solve?
General code format is like this, including me in another way, using a cursor is also the same problem,
Declare V_var varchar2 (20) :='a condition; The begin For I (select a, b in the from the table where c=v_var) loop Dbms_output. Put_line (i.a | | ', '| | i.b) End loop; end;
CodePudding user response:
Whether the field contains carriage return or line breaks
CodePudding user response:
How is broken into two lines, the result of your data where it came from, what kind of
Cut up some figure,
The dump function can see the actual content of the field