Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2006
    Posts
    2

    Red face Unanswered: SQL Server 2000 Link server access

    I created a linked server (PLNK Oracle 9i), and run the query:

    Insert into MSTBL1
    select * from openquery(PLNK,'select * from v_ora_view1);

    The above query run success when I issue the query in Query Analyzer.
    But it got access denide after I copy it to a job.

    Any idea?

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    the job runs under the account that the SQLAgent is running under.
    “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.

  3. #3
    Join Date
    Apr 2006
    Posts
    2
    Thank you for your reply.
    It works now.

Posting Permissions

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