Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Location
    Alpine Califormia
    Posts
    1,789

    Unanswered: How to get two different SQL servers to talk to one another

    Hi all I need to create a view for another sql server on the network.

    I can create a view for two to databases on the same sql server to talk but how do you do it for a differend sql server??


    Code:
    CREATE VIEW dbo.Revocations_View
    AS
    SELECT     TM#, LastName, FirstName, MI, SSN, [I/R #], Date, ReasonofRevocation, Notes, Termination, Conditional, WasEmployeeFined, LicenseSuspension, 
                          Status
    FROM         LicensingActions.dbo.Revocations_Tbl

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Use sp_addlinkedserver to put the servers on "speaking terms" with each other. In a secured network, you may have to deal with Security Account Delegation. After you've resolved that, you need to use four part names and you're in business.

    -PatP

  3. #3
    Join Date
    Feb 2004
    Location
    Alpine Califormia
    Posts
    1,789

    Talking Thank you Pat

    thanks pat thats exaclty what I need
    appreciate it

  4. #4
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    a fine meal and big bottle of wine outta do it. could'nt resist.
    “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
  •