Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2005
    Posts
    1

    Unhappy Unanswered: problem with using linked server

    hello everybody, i am using oracle as linked derver to my sql server db...when i write the query to access data from linked server(oracle) iam getting error like this...iam helpless..pls give ur ideas..
    my query is: SELECT * FROM EOPI..EOP.CONTRACT
    and the error is
    OLE DB provider 'OraOLEDB.Oracle' reported an error.
    [OLE/DB provider returned message: ORA-12638: Credential retrieval failed]..

    thax and regards
    kiran
    senior software engineer

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    When querying by linked server you have to use openquery.

    SELECT * FROM OPENQUERY(linkedservername,'SELECT * FROM pubs')
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •