My Oracle Support Banner

Selecting More Than 100 Text Column Rows From SQL*Server Using Generic Connectivity Hangs HSODBC Executable (Doc ID 417862.1)

Last updated on AUGUST 27, 2021

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2]
Information in this document applies to any platform.


Checked for relevance on 18-Aug-2011

Generic connectivity has been successfully setup to Microsoft SQL*Server.
Selects work okay but a select of more than 100 rows of a column defined as TEXT in SQL*Server will hang and the HSODBC executable will use 99% CPU.


For example, the following table is created in SQL*Server -

Column                   Data_Type     Size
--------                   ------------   ------------
MSQL_Index         bigint              8
MSQL_Document  text                16
MSQL_Extract      char                255

The following select will work -

select "MSQL_Document" from oracle1@hsmsql where
"MSQL_Index" < 101

- returns 100 rows

The following select will hang -

select "MSQL_Document" from oracle1@hsmsql where
"MSQL_Index" < 102 ;

Both selects work successfully using Transparent Gateway for SQL*Server.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.