English 中文(简体)
5. 快速反应
原标题:SQL-Server Transaction rollback

我们有复杂的信息社会首脑会议工作,在每次交易中,我们必须在服务器上插入大约30K+记录。 一揽子计划使用当地交易,有转开和滚动报表。 在NOT从一个表格中查到2至3个记录时,我对这一交易退缩行为感到迷惑。 当我发出退约时,它就应当清理表格中的所有插入记录,但情况并非如此,而是在表格中留下2-3个记录,这是错误的。

此外,业务需要要么在一次交易中生成所有记录,要么收回所有制造记录,我不能作出部分承诺。 我希望这清楚说明正在发生的情况。

任何想法?

最佳回答

I switched to MSDTC to handle these transactions in SSIS. To me it sounded like a work around to use the begin and commit transactions semantics and I guess the reason for partial rollback. After switching to MSDTC, this issue is resolved.

很多人

问题回答

暂无回答




相关问题
Export tables from SQL Server to be imported to Oracle 10g

I m trying to export some tables from SQL Server 2005 and then create those tables and populate them in Oracle. I have about 10 tables, varying from 4 columns up to 25. I m not using any constraints/...

SQL server: Can NT accounts be mapped to SQL server accounts

In our database we have an SQL server account that has the correct roles to access some of the databases. We are now switching to windows authentication and I was wondering if we can create a NT user ...

SQL Server 2000, ADO 2.8, VB6

How to determine if a Transaction is active i.e. before issuing Begin Transaction I want to ensure that no previous transaction are open.. the platform is VB6, MS-SQL Server 2000 and ADO 2.8

热门标签