SQL Syntax Problem while storing with debug info
Posted: Thu 23 Aug 2007 15:02
I have some stored procedures where once I use the store with debug information the following Error occurs:
"You have an error in your SQL syntax; check ....near' CALL cr_debug.TRACE(0, 27, 0, 3, cr_stack_depth);efix);
CALL cr_debug.TRAC' at line 10"
the strange thing is that it worked fine for some time, but then suddenly this error occurs.
I removed the whole body from the procedure and left only the declaration portion, then tried again to compile with debug info.
The result is a message window telling me
"Failed restoring 'dev_share.__TR_prefixv6_1':
PROCEDURE __TR_prefix_v6_1 already exists
The next thing that happens, the SQL file opens and again an Error is listed in the Error list.
This time:
...near 'DECLARE cr_stack_depth INTEGER DEFAULT
cr_debug.ENTER_MODULE('__TR_prefix_v6_1',' at line 1
"You have an error in your SQL syntax; check ....near' CALL cr_debug.TRACE(0, 27, 0, 3, cr_stack_depth);efix);
CALL cr_debug.TRAC' at line 10"
the strange thing is that it worked fine for some time, but then suddenly this error occurs.
I removed the whole body from the procedure and left only the declaration portion, then tried again to compile with debug info.
The result is a message window telling me
"Failed restoring 'dev_share.__TR_prefixv6_1':
PROCEDURE __TR_prefix_v6_1 already exists
The next thing that happens, the SQL file opens and again an Error is listed in the Error list.
This time:
...near 'DECLARE cr_stack_depth INTEGER DEFAULT
cr_debug.ENTER_MODULE('__TR_prefix_v6_1',' at line 1