English 中文(简体)
在与Sql服务器的单一交易中增加一栏并填满。
原标题:Add a column and populate it in a single transaction with Sql Server

为某一数据基提供最新说明的Im。 文字必须

  • Update various things
  • Add a column to a table
  • Update various things
  • Populate this column with specific values (based on various calculations done in C#)
  • Update various things

文字必须成功或失败,使数据库保持不变。

我的想法是,在一次交易中这样做,但我发现一栏有误:

This operation conflicts with another pending operation on this transaction.

任何想法?

最佳回答

无。 Sorry, 你的要求并非可以满足,因为SQ服务器要求将DML声明孤立起来。

问题回答

暂无回答




相关问题
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

热门标签