DB-Link SQL Server to Oracle OpenQuery Retuns a single row

  • Hi,

    I'm having an issue with getting openquery to work correctly.

    Im Using:

    SQL server 2008 connecting to Oracle 11g.

    Microsoft OLE DB Provider for ODBC Drivers

    ODBC buffer fetch size is set at 64000

    If I issue this query:

    select * from OPENQUERY(ORACLE_TEST, 'Select * from dbo.defaults')

    I get just the first row returned to me.

    Issuing "Select * from dbo.defaults" in oracle direcly I get 65 rows returned.

    Any assistance would be appreciated!

    Philip Blahut

  • What do you get if you use the Oracle OLEDB drivers for oracle?

  • Thanks Jo

    Using the Oracle driver seems to work just fine.

  • Have a search on fetch on this forum. The oracle default fetchsize is around 200.

    Solved post

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply