BUFFER OVERFLOW PROBLEM [message #263799] |
Fri, 31 August 2007 01:37 |
sqlc
Messages: 6 Registered: August 2007
|
Junior Member |
|
|
Hi
I am getting a buffer overflow problem.The error is
ERROR at line 1:
ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes
ORA-06512: at "SYS.DBMS_OUTPUT", line 35
ORA-06512: at "SYS.DBMS_OUTPUT", line 158
ORA-06512: at "SYS.DBMS_OUTPUT", line 121
ORA-06512: at line 41
The code's attached.The scenario is i have 3 tables one with users (user),one with menus for the user(menu) and another one with permission for the menus this user has(perm).
now this perm table has a field programid it is a concatenated list of all menus(each menu has a 2 digit code),
i have to cut out each 2 digit code and find it's corresponding name in the menu table.
so the final output would be
user1
list of all programs of user1
user2
list of all programs of user2
please do help me.thanks in advance
Regards
sqlbeginner
|
|
|
|
|
|
|