Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Posts
    1

    Unanswered: Accessing table in Server A while in Server B

    How would I select data from a table in a server called A while I am in a server called B? I am trying to capture the data in server A in a stored procedure within server B. I attempted using syntax similar to
    A.database.dbo.tablename but it gave me an error. Please let me know. Thanks.

  2. #2
    Join Date
    Jul 2002
    Location
    Village, MD
    Posts
    621
    What about linked server?

  3. #3
    Join Date
    Aug 2002
    Location
    Scotland
    Posts
    1,578
    As mentioned using linked server and OPENQUERY you can be able to select/update data between 2 servers.

    Refer to books online for linked servers topic.
    --Satya SKJ
    Microsoft SQL Server MVP
    [IMG]http://sqlserver-qa.net/google_bart.gif[/IMG]

Posting Permissions

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