Ok Guru''s This one I can''t figure out It seems like a hard one

  • :crazyk here is the scoop, I have two database servers we will call them s1 and s2.  I have migrated data from one server to another server.  What I would like to do is run a tsql statement against 2 servers and 2 databases.  Is this even possible

    Any thoughts would be greatly appreciated

  • See the "Linked Servers" topics in BOL.

  • Use OpenQuery or OpenRowset



    A.J.
    DBA with an attitude

  • Also see the SELECT topic in BOL.

    (note that the full syntax of select is FROM server.database.owner.object)

    Yet another option is to use remote procedure calls - there's many ways to skin this cat.

    /Kenneth

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply