動作しません。これは、結果セットを返す、作品テーブルに挿入します。..リンクサーバーの幹部は
insert into rowcount_sub (tablename,rowcnt)
exec ('select ''col'', count(1) from test.dbo.[Table1] with (nolock)') at svrA
はこれを与えて失敗しますエラー:
OLE DB provider "SQLNCLI10" for linked server "svrA" returned message "No transaction is active.".
Msg 7391, Level 16, State 2, Line 1
The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "svrA" was unable to begin a distributed transaction.
MSDTC(Microsft Distributed Transaction Coordinator)サービスでsthできますか? 012.mpctで起動することができます –
このMSDTCはリモートサーバーまたはローカルサーバー上にありますか? – sharadov