Database Link -error: Server 7319

  • I did one link that one Oracle's database in SQL Server 2000 , I did'nt have problems.. I can show the table

    but when I want do a Select in query Analyzer send me the next error

    this is the select

    select * from OracleAliceT2..WIP.WIP_ENTITIES

    the error:

    Server: Msg 7319, Level 16, State 1, Line 1

    OLE DB provider 'MSDAORA' returned a 'NON-CLUSTERED and NOT INTEGRATED' index 'WIP_ENTITIES_N1' with incorrect bookmark ordinal 0.

    OLE DB error trace [Non-interface error: OLE/DB provider returned an invalid bookmark ordinal from the index rowset.].

    Thank's

  • I would not use MSDAORA as my OLE DB provider when talking to Oracle, I would use Oracle OLE DB provider instead.

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
  • Try running the same query in SQL Plus directly connecting to Oracle Database and see whether you are getting same error. If the same error is coming then you need to ask your Oracle DBA to resolve that issue.

    As suggested above, Install Oracle client and use ORACLe driver since Microsoft no longer supports MSDAORA for Oracle databases greater than 8i

    Regards,
    Sakthi
    My Blog -> http://www.sqlserverdba.co.cc

  • thank's for your help

    We install the Oracle Client

    Although, the only way to run is with the next sentence

    select * from openquery(OracleAliceT2,'Select * from WIP_ENTITIES where organization_id=174 and wip_entity_id=612')

  • Sakthivel Chidambaram (9/26/2008)


    Try running the same query in SQL Plus directly connecting to Oracle Database and see whether you are getting same error. If the same error is coming then you need to ask your Oracle DBA to resolve that issue.

    :w00t: just imagine an Oracle instance returning an OLE DB error, that would be scary, huh?

    Poster would never ever get the same error while running the query in a sqlplus sessions because the error poster is getting is not an Oracle error, is a OLE DB provider error. 😀

    _____________________________________
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at Amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

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

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