Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Is there an alternative to DBMS_OUTPUT???

571956Apr 25 2007 — edited Apr 25 2007
I have written a stored procedure that builds an update statement dynamically, basically I am updating a table with multiple fields, but not all fields need to be updated.

So I am building my update statement to update only the fields that need to be. BUT, I am still testing it and I want to output the completed Update statement (that is being assigned to a variable, sqlScript) so I can verify that it looks good.

But I am getting an Oracle error (ORA-20000: ORU-10028: line length overflow, limit of 255 chars per line). Obviously the update statement is violating the DBMS_OUTPUT 255 character limit, is there anyway I can avoid this error?? Are there any alternatives to the DBMS_OUTPUT?? Can I output my variable to a .txt file or anything??

Any help would be greatly appreciated!

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 23 2007
Added on Apr 25 2007
17 comments
2,924 views