We have a linked server which fetches data from Oracle 10.2.0.2-64Bit to SQL Server 2005-64Bit SP2. Now the Oracle server was migrated from Oracle 10.2.0.2 to Oracle 18.104.22.168. When we try to use openquery we are facing the below issue “OLE DB provider "OraOLEDB.Oracle" for linked server "OFAP" returned message "ORA-12592: TNS:bad packet". When we have made below changes 1. We have installed Oracle 22.214.171.124 64 bit on SQL Server Physical Box. 2. Network packet size in SQL Server :- We have increased the packet size from 4096 to 8192. Now we having a new issue. So we did the below analysis 1. We have extracted the query from stored procedure and executed on SQL server where it is getting hanged after fetching 11K records (Out of 26 K records). 2. The same query when executed in SQL PLUS from the Physical Box of SQL Server we were getting the result in 10 sec with a record count of 26K. 3. We have removed two columns from the select list which contains the major data size (Varchar 250) and was executed on SQL server Instance which fetched all the 26K records in 11 to 15 sec. 4. On further dig-up we have used Substring to limit the character from the two columns to return 12 characters, 12 K records were fetched before the session got hanged up. Help on this is much appreciated.