Adding LinkedServer in Uppercase and Lowercase

  • I am trying to find out how could I add two linkedserver with the same name, one in uppercase and the one in lowercase using sp_addlinkedserver or some other kind of script.

    Your help is very much appreciated.

    Regards

  • you'll need to add them with different names, because your collation is non-case sensitive in the master database;

    you could rebuild the server with a case sensitive collation, but that would cause you a lot of headaches later; much easier to just use different names.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Thanks very much for your reply. The previous DBA has it setup that way, the same name, in uppercase,and lowercase in alomost all the linkedserver objects. Now it is my turn to do the same but I can either set it up in lowercase with a script or in uppercase with the gui. No juice for both upper and lower.

    Thanks anyway

  • I fully agree with lowell. Its better to avoid collation problems since then you have to take into account of collation in your queries.

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

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