SYBASE Error 277 There was a transaction active when exiting the stored procedure '%.*s'. The tempo
2011-08-16 14:18
2221 查看
Error 277
Severity
16
Error message text
There was a transaction active when exiting the stored procedure '%.*s'. The temporary table '%.*s' was dropped in this transaction either explicitly or implicitly. This transaction has been aborted to prevent database corruption.Explanation
When exiting a stored procedure, Adaptive Server checks to see whether there is an active transaction (a transaction that has not been committed) and then checks to see whether any temporary objects exist for that uncommitted transaction.If temporary objects exist, the transaction is rolled back, the temporary objects are dropped, and Error 277 is raised.
Action
In stored procedures, make sure all begin transaction statements have correspondingcommit transaction or rollback transaction statements.
In chained mode, if there is no explicit begin transaction statement, an implicit
begin transaction is issued. If you are using chained mode, an explicit
commit transaction or rollback transaction statement is required to end the transaction.
If you confirm that all begin transaction statements have corresponding
commit transaction or rollback transaction statements, check to see whether the stored procedure is exiting without completing its processing.
Versions in which this error is raised
All versions相关文章推荐
- Stored procedure 'zhanghouying' may be run only in unchained transaction mode. The 'SET CHAINED OFF' command will cause the curr
- 错误提示:mysqldump: Got error: 1049: Unknown database '***;' when selecting the database
- 错误提示:mysqldump: Got error: 1049: Unknown database 'jpa;' when selecting the database
- Error when loading the SDK:发现了以元素 'd:skin' 开头的无效内容
- The transaction log for database 'xx' is full,Error: 9002, Severity: 17, State: 2
- Error when loading the SDK:发现了含有元素 'd:skin' 开头的无效内容
- Swift Compiler Error Integer literal overflows when stored into 'UInt8'
- How to avoid the error "The file 'xyz.mdf' cannot be overwritten. when deploying
- Mysql数据库备份的问题:mysqldump: Got error: 1049: Unknown database 'blog;' when selecting the database
- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppeara
- When the Opposite of Transparent isn't Opaque
- Error getting 'State' for /org/freedesktop/NetworkManager/ActiveConnection/0: (19) Method "Get" wit
- Do not include the "@" character when supplying stored procedure parameter names to a SQL Server database
- afxbeginthread Error 11 error C2665: 'AfxBeginThread' : none of the 2 overloads could convert all th
- mysqldump执行时Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
- Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'Could not find
- rospack depends1 beginner_tutorials 出现错误 [rospack] Error: the rosdep view is empty: call 'sudo rosd
- Unable to find the socket transport 'ssl' - did you forget to enable it when you configured PHP?
- Error:svn: E175002: connection refused by the server svn: E175002: OPTIONS request failed on '
- Python_bug收集_TypeError:'str' does not support the buffer interface