Results 1 to 3 of 3
  1. #1
    Join Date
    May 2002
    Location
    Sydney
    Posts
    45

    Unanswered: Specify protocol from T-Sql

    Hi,

    In a stored procedure I have, I need to make a call out to a DR server, I believe the named pipes protocol is causing errors for long running sql. Is there anyway I can change the call

    exec svr_dr.msdb.go

    to ensure that it uses the tcp protocol rather than named pipes?

    Thanks,
    JS

  2. #2
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    You need to sp_dropserver (after dropping the remote login), define an alias with your network library of choice in Client Network Configuration, and then sp_addlinkedserver referencing the alias.
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

  3. #3
    Join Date
    May 2002
    Location
    Sydney
    Posts
    45
    Thanks,

    That worked well, with a bit of hashing around.

    Rgds,
    Rob.

Posting Permissions

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