FROM SQL2005 TO SQL2005

  • Hi,

    I need to pull data from REMOTE_SERVER (WebSite Server)

    "Security" and "Performance" wise, which one solution below is better solution?

    QUERY:

    SELECT field1, field2, field3, ...

    FROM [REMOTE_SERVER].[Catalog].dbo.[Table1]

    WHERE field1 = @param

    1) Create "ConnectionString" in the local application to connect to REMOTE_SERVER.

    AND call sproc in the remote server.

    2) Create a LinkedServer to REMOTE_SERVER

    Thanks everyone,

    /Sel

  • I still could not solve this problem.

    Any thoughts?

  • Performance wise OPENQUERY is little more efficient .

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

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