Home > database > Return value is a multi-line select into, to save and display must use cursor
Return value is a multi-line select into, to save and display must use cursor
Time:09-19
I started learning in recent days, with the select into statement, wants to query to the value of the stock in a VARCHAR2, and DBMS_OUPUT. PUT_LINE displayed, but an error return value is a multiple lines, on the Internet can only return the value of a line, so want to return multiple rows and display can only use the cursor?
CodePudding user response:
Yes, into only one record
CodePudding user response:
It depends, how do you want to show, that is to say, you want to do what kind of operation of the data,