Extract Abends with OGG-05210 A query to SQL Server has failed: set nocount on (Doc ID 2242027.1)

Last updated on APRIL 18, 2017

Applies to:

Oracle GoldenGate - Version 12.2.0.1.0 and later
Information in this document applies to any platform.

Symptoms

A SQL Server Goldengate extract can be seen abending with the similar error.

2016-08-30 07:07:29 ERROR OGG-05210 mssqlvam::OnlineLogInfo::GetLogStartLsn: A query to SQL Server has failed: set nocount on
declare @cols table(id int identity, name sysname, type sysname, introduced int);
declare @cmd nvarchar(4000),
@cmd2 nvarchar(1000)

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms