Linked Server Providers

  • I have just completed a project and wants to rollout. However one last piece that seems inefficient is a part in my code that creates a linked server necessary to populate a table on the fly while executing the script. We have a ton of 2008 SQL Servers and also 2012s and I'm confused on how to tell SQL Server to use SQLNCLI10 to create the linked server if its a 2008 version or use SQLNCLI11 if its a 2012 version. Any thoughts on this?

  • Document your servers, including provisioning (prod/QA/test/dev), version, patch-level, etc., in a table. I have a database called "DBA" that I use for that kind of thing.

    Comes in useful pretty regularly. Especially when it comes time to audit licensing.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

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

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