I'm using Oracle 10g which expanded the size limit on a PUT_LINE from 255 to 32K. However, DBVisualizer still seems to have the 255 limit. Consider the following cases:
-- This says "command processed but no rows were affected" - no DBMS output is produced. Remove 1 character from the string and it works
DECLARE
BEGIN
DBMS_OUTPUT.PUT_LINE ('1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456');
END;
-- Things work the same way using a PUT, then a PUT_LINE. Once you cross 255 characters, no error or output is returned
DECLARE
BEGIN
DBMS_OUTPUT.PUT ('1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890');
DBMS_OUTPUT.PUT_LINE ('123456');
END;
Hopefully this is something that can be fixed in a configuration file. If not, I guess I'll just have to wait for a new release.
Thanks for any help,
Sammy