Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Posts
    3

    Unanswered: Procedure call between two different SQL SERVER

    Hi,

    I have two SQL SERVER server1 and server2. A server1's stored procedure should call server2's stored procedure. how can i do this.please explain me in detail.i am new to this concept.

    VENKAT

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    linked servers and four part names.

    you will have to setup a linked server.

    then you make your calls like ...

    Exec Server.database.owner.storedprocedure
    “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
    Aug 2006
    Posts
    3
    Thanks for your help.but i am new bee.Please let me know where should i setup a linked server.

  4. #4
    Join Date
    Aug 2006
    Posts
    3
    Hi Sean Roussy,

    Can you please let me know is there any other way to do this other than LinkedServer

  5. #5
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Yes, there are many more complicated and much more difficult ways than using linked servers. If you have enough time, patience, and money you might be able to make one of them work.

    Linked servers are trivial in comparison.

    -PatP

Posting Permissions

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