Home Forums SQL Server 2008 SQL Server 2008 - General Do I need a linked server if both databases reside within the same SQL Named Instance? RE: Do I need a linked server if both databases reside within the same SQL Named Instance?

  • If they exist on the same instance no, use cross database queries

    Like the following.

    INSERT INTO DatabaseA.dbo.Mytable SELECT Col1, Col2 FROM DatabaseB.dbo.MyTable

    If the database was on a different server, then yes a linked server would be needed.