Selecting More Than 100 Text Column Rows From SQL*Server Using Generic Connectivity Hangs HSODBC Executable
(Doc ID 417862.1)
Last updated on JUNE 08, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]Information in this document applies to any platform.
Symptoms
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.
Cause
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
Symptoms |
Cause |
Solution |
References |