- 论坛徽章:
- 0
|
在12。5的sybase数据库中,有A、B、C三个过程,其总A、B两个过程均不需要传入和返回参数,C过程需要传入和返回参数,在A中首先调用B过程,在B过程中又会再调用C过程,但是B过程不对C过程的返回值进行任何处理
我在SQLADV中执行A过程,这个流程都按预计的正常执行,但是报出如下的信息:
Server Message: Number 266, Severity 10
Server 'DB', Procedure 'B', Line 27:
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRAN is missing. Previous count = 1, Current count = 0.
Server Message: Number 266, Severity 10
Server 'DB', Procedure 'A', Line 57:
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRAN is missing. Previous count = 1, Current count = 0.
(return status = 0)
目前来看,语法方面不会有大问题,因为在建过程的时候没有任何报错,在执行过程中也是按照过程中的步骤在执行,执行结果也是预期的,就是每次执行会出现以上的信息,不知道是什么原因,会不会对其他方面有影响。
希望大家能给与指点,先谢了! |
|