SlideShare uma empresa Scribd logo
1 de 4
Baixar para ler offline
Changing the name of your SQL Server | TechRepublic



      ZDNet Asia    SmartPlanet    TechRepublic                                                                                     Log In    Join TechRepublic   FAQ         Go Pro!




                                                      Blogs     Downloads       Newsletters       Galleries      Q&A     Discussions         News
                                                  Research Library


        IT Management             Development         IT Support        Data Center         Networks          Security                         Search




        Home / Blogs / The Enterprise Cloud                                                  Follow this blog:

        The Enterprise Cloud



 s
        Changing the name of your
        SQL Server
        By Steven Warren
        September 22, 2007, 9:13 PM PDT

        Have you ever had to change the name of a server that has SQL Server installed on it? If you
        anwered yes, did you know that you also have to change the name in SQL Server? Here are the
        steps to perform the change.

        1. Open SQL Server Management Studio and click New Query.

        2. Type Select @@ServerName to verify that the server name is correct or incorrect. In this
        example, I changed the Windows 2003 from WIN2K3R2EE to SQL Server. I did not change the
                                                                                                                               MapR Hadoop
        name in SQL Server 2005. It will still return the old name. Let’s fix it.
                                                                                                                               Download
                                                                                                                               Most Open, Enterprise-Grade Distribution for
                                                                                                                               Hadoop. Try Now.
                                                                                                                               www.mapr.com/Free-download
                                                                                                                               Google Docs For Business
                                                                                                                               Create & Upload Images, Tables, Equations,
                                                                                                                               Drawings, Links & More!
                                                                                                                               www.google.com/apps
                                                                                                                               Airport operations
                                                                                                                               Airports need to adapt to pressures We
                                                                                                                               illustrate these needs here:
                                                                                                                               www.amadeus.com/collaboration2020




                                                                                                                          Keep Up with TechRepublic
              A CNET PROFESSIONAL BRAND                                               On TechRepublic: Reporting on security with Microsoft Audit Collection Services



        3. Next, type sp_dropserver ‘WIN2K3R2EE’                                                                               Your Email
                                                                                                                           
                                                                                                                                Five Apps
                                                                                                                           
                                                                                                                                Google in the Enterprise


                                                                                                                               Subscribe Today


                                                                                                                          Follow us however you choose!




http://www.techrepublic.com/blog/datacenter/changing-the-name-of-your-sql-server/192[08/29/2012 3:22:31 PM]
Changing the name of your SQL Server | TechRepublic




        4. You are now ready to add the correct name by typing sp_addserver ‘SQLSERVER’. local
                                                                                                              Media Gallery




                                                                                                                    PHOTO GALLERY (1 of 15)
                                                                                                                    Curiosity's autonomous
                                                                                                                    'seven minutes of...

                                                                                                                          More Galleries »




        5. Restart sql server and the sql server agent by opening a command prompt and typing net stop
        mssqlserver and net start msssqlserver. To stop and start the sql server agent, type net stop or
        start sqlserveragent.
                                                                                                                    VIDEO (1 of 13)
                                                                                                                    Cracking Open: HTC Titan II

                                                                                                                           More Videos »



                                                                                                              Hot Questions                     View All


                                                                                                               3     SSL redirection



                                                                                                               3     Switching from a Job to a career in
                                                                                                                     the IT field: Need an IT pro's
                                                                                                                     advice


                                                                                                               2     windows 7 won't shutdown and
                                                                                                                     keeps switching on


                                                                                                               2     can anyone suggest if any such
                                                                                                                     software exist with similar
                                                                                                                     functionality?


                                                                                                              Ask a Question



                                                                                                              Hot Discussions                   View All


                                                                                                              221    Should developers be sued for
                                                                                                                     security holes?


                                                                                                               79    The sitting duck that is open
                                                                                                                     source




http://www.techrepublic.com/blog/datacenter/changing-the-name-of-your-sql-server/192[08/29/2012 3:22:31 PM]
Changing the name of your SQL Server | TechRepublic




                                                                                                                       27      Five fast Windows desktop search
                                                                                                                               utilities
        6. Click New Query in SQL Server Management Studio and type select @@servername to verify
        everything is correct and you have successfully changed the sql server name.                                   24      Five speedy Windows desktop
                                                                                                                               search apps


                                                                                                                       Start a Discussion



                                                                                                                      White Papers, Webcasts, and
                                                                                                                      Downloads

                                                                                                                                       Webcasts
                                                                                                                                       Live Webcast:
                                                                                                                                       Succeeding in a
                                                                                                                                       World Gone Mobile
                                                                                                                      The mobile revolution impacts every
                                                                                                                      business and every individual, so it's
        Get IT Tips, news, and reviews delivered directly to your inbox by subscribing to TechRepublic’s free         imperative you understand SMS, MMS,
        newsletters.                                                                                                  iOS and all the rest. How can location
                                                                                                                      services help? Can apps save you time
                                                                                                                      and money? Watch this webinar to explore
                                                                                                                      a world gone mobile!
                                                                                                                      From Citrix Online

                                                                                                                         Whitepapers
                       Test SQL Server 2000                         Storage considerations for
                                                                                                                         Analytics and the Smarter Planet
                       Clustering in VMware                         virtual desktops
                                                                                                                         From IBM
                       Workstation
                                                                                                                         Webcasts
                                                                                                                         On-demand Webcast: Get from Wow
                                                                                                                         to How with mobile workstyles and
                                                                                                                         cloud services
             3            Join the conversation!                                             Add Your Opinion            From Citrix Systems, Inc
          Comments        Follow via:
                                                                                                                         Whitepapers
                                                                                                                         Information Assurance Education
          Staff Picks      Top Rated      Most Recent     My Contacts                              See All Comments      From Regis University




                           RE: Changing the name of your SQL Server                                      0
                                                                                                        Votes
                                                                                                                      Blog Archive
                           blangston1 20th Oct 2009

                                                                                                                         August 2012          December 2011
                 Did you ever find out how to do this?
                                                                                                                         July 2012            November 2011

                     View in thread                                                                                      June 2012            October 2011
                                                                                                                         May 2012             September 2011
                                                                                                                         April 2012           August 2011
                           RE: Changing the name of your SQL Server                                      0               March 2012           July 2011
                                                                                                        Votes




http://www.techrepublic.com/blog/datacenter/changing-the-name-of-your-sql-server/192[08/29/2012 3:22:31 PM]
Changing the name of your SQL Server | TechRepublic



                          phulchand 11th Oct 2009
                                                                                                                                    February 2012     June 2011
                                                                                                                                    January 2012
                hi....thanx man...!!!:)


                   View in thread



                          RE: Changing the name of your SQL Server                                                0
                          mrt181 10th Aug 2009                                                                   Votes



                Thank you. Do you have any idea if it is necessary and possible to also change the
                local user group names and the server permissions. I.e, I have renamed my server
                from db to db01. The server... Read Whole Comment +


                   View in thread




                                                       See all comments



        Join the TechRepublic Community and join the conversation! Signing-up is
        free and quick, Do it now, we want to hear your opinion.

          Join        Login




                                                                                                                                Search



        Trending Topics
        Server virtualization       Microsoft Excel          SECURITY       business analyst        router        SOFTWARE/WEB DEVELOPMENT          IT OPERATIONS
        Microsoft Windows XP           HARDWARE              server     it consultant     Wireless LANs           job    Project management




        Featured TechRepublic Pro Downloads                                                                                   Explore               Services
                                                                                                                                 Blogs                 About Us
                                                                                                                                 Downloads             Membership
                                                                                                                                 Members               Newsletters
                                                                                                                                 QA                   RSS Feeds
                                                                                                                                 DIscussions           Site Map
        500 Things You                Essential IT Forms              Guide to Mobile              Quick Reference:              Training              Site Help 
        Need To Know To                                               Computing Support            Linux Commands                Store                 Feedback
        Succeed In Your IT                                                                                                       Research Library      FAQ
        career                                                                                                                   Photos                Advertise
                                                                                                                                 Videos                Reprint Policy




     Popular on CBS sites: US Open | PGA Championship | iPad | Video Game Reviews | Cell Phones

     © 2012 CBS Interactive. All rights reserved. Privacy Policy | Ad Choice | Terms of Use | Advertise | Jobs

     A ZDNet Web Site | Visit other CBS Interactive Sites:     CBS Cares
                                                               CBS Cares            Go




http://www.techrepublic.com/blog/datacenter/changing-the-name-of-your-sql-server/192[08/29/2012 3:22:31 PM]

Mais conteúdo relacionado

Semelhante a Changing SQL Server Name

Harnessing the Cloud for Performance Testing- Impetus White Paper
Harnessing the Cloud for Performance Testing- Impetus White PaperHarnessing the Cloud for Performance Testing- Impetus White Paper
Harnessing the Cloud for Performance Testing- Impetus White PaperImpetus Technologies
 
Migrating to cloud-native_app_architectures_pivotal
Migrating to cloud-native_app_architectures_pivotalMigrating to cloud-native_app_architectures_pivotal
Migrating to cloud-native_app_architectures_pivotalkkdlavak3
 
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)Tim Kirby
 
Migrating_to_Cloud-Native_App_Architectures_Pivotal
Migrating_to_Cloud-Native_App_Architectures_PivotalMigrating_to_Cloud-Native_App_Architectures_Pivotal
Migrating_to_Cloud-Native_App_Architectures_PivotalEstevan McCalley
 
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)Dean Bruckman
 
Fowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing WorkshopFowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing WorkshopMark Masterson
 
Cloud Done Right - PaaS is the Remedy to VM Hangover
Cloud Done Right - PaaS is the Remedy to VM HangoverCloud Done Right - PaaS is the Remedy to VM Hangover
Cloud Done Right - PaaS is the Remedy to VM HangoverMohamad Afshar
 
Refactoring Web Services on AWS cloud (PaaS & SaaS)
Refactoring Web Services on AWS cloud (PaaS & SaaS)Refactoring Web Services on AWS cloud (PaaS & SaaS)
Refactoring Web Services on AWS cloud (PaaS & SaaS)IRJET Journal
 
Do Clouds Compute? A Framework for Estimating the Value of Cloud Computing.
Do Clouds Compute? A Framework for Estimating the Value of Cloud Computing.Do Clouds Compute? A Framework for Estimating the Value of Cloud Computing.
Do Clouds Compute? A Framework for Estimating the Value of Cloud Computing.Markus Klems
 
C5 accelerating your journey to self-service it
C5   accelerating your journey to self-service itC5   accelerating your journey to self-service it
C5 accelerating your journey to self-service itDr. Wilfred Lin (Ph.D.)
 
Leveraging Cloud for Product Testing- Impetus White Paper
Leveraging Cloud for Product Testing- Impetus White PaperLeveraging Cloud for Product Testing- Impetus White Paper
Leveraging Cloud for Product Testing- Impetus White PaperImpetus Technologies
 
Cloud Computing using MDA
Cloud Computing using MDACloud Computing using MDA
Cloud Computing using MDAProbal DasGupta
 
Java Magazine March April 2019
Java Magazine March April 2019Java Magazine March April 2019
Java Magazine March April 2019Erik Gur
 
A COMPARATIVE STUDY ON GOOGLE APP ENGINE AMAZON WEB SERVICES AND MICROSOFT WI...
A COMPARATIVE STUDY ON GOOGLE APP ENGINE AMAZON WEB SERVICES AND MICROSOFT WI...A COMPARATIVE STUDY ON GOOGLE APP ENGINE AMAZON WEB SERVICES AND MICROSOFT WI...
A COMPARATIVE STUDY ON GOOGLE APP ENGINE AMAZON WEB SERVICES AND MICROSOFT WI...Mary Montoya
 
Splunk and Multicloud
Splunk and Multicloud Splunk and Multicloud
Splunk and Multicloud Splunk
 
Splunk and Multicloud
Splunk and MulticloudSplunk and Multicloud
Splunk and MulticloudSplunk
 
JAVA Magazine Sep-Oct 2013
JAVA Magazine Sep-Oct 2013JAVA Magazine Sep-Oct 2013
JAVA Magazine Sep-Oct 2013Erik Gur
 

Semelhante a Changing SQL Server Name (20)

335 340
335 340335 340
335 340
 
Harnessing the Cloud for Performance Testing- Impetus White Paper
Harnessing the Cloud for Performance Testing- Impetus White PaperHarnessing the Cloud for Performance Testing- Impetus White Paper
Harnessing the Cloud for Performance Testing- Impetus White Paper
 
Migrating to cloud-native_app_architectures_pivotal
Migrating to cloud-native_app_architectures_pivotalMigrating to cloud-native_app_architectures_pivotal
Migrating to cloud-native_app_architectures_pivotal
 
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)
 
Migrating_to_Cloud-Native_App_Architectures_Pivotal
Migrating_to_Cloud-Native_App_Architectures_PivotalMigrating_to_Cloud-Native_App_Architectures_Pivotal
Migrating_to_Cloud-Native_App_Architectures_Pivotal
 
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)
Migrating_to_Cloud-Native_App_Architectures_Pivotal (2)
 
Fowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing WorkshopFowa Miami 09 Cloud Computing Workshop
Fowa Miami 09 Cloud Computing Workshop
 
Cloud Done Right - PaaS is the Remedy to VM Hangover
Cloud Done Right - PaaS is the Remedy to VM HangoverCloud Done Right - PaaS is the Remedy to VM Hangover
Cloud Done Right - PaaS is the Remedy to VM Hangover
 
Refactoring Web Services on AWS cloud (PaaS & SaaS)
Refactoring Web Services on AWS cloud (PaaS & SaaS)Refactoring Web Services on AWS cloud (PaaS & SaaS)
Refactoring Web Services on AWS cloud (PaaS & SaaS)
 
Do Clouds Compute? A Framework for Estimating the Value of Cloud Computing.
Do Clouds Compute? A Framework for Estimating the Value of Cloud Computing.Do Clouds Compute? A Framework for Estimating the Value of Cloud Computing.
Do Clouds Compute? A Framework for Estimating the Value of Cloud Computing.
 
C5 accelerating your journey to self-service it
C5   accelerating your journey to self-service itC5   accelerating your journey to self-service it
C5 accelerating your journey to self-service it
 
Leveraging Cloud for Product Testing- Impetus White Paper
Leveraging Cloud for Product Testing- Impetus White PaperLeveraging Cloud for Product Testing- Impetus White Paper
Leveraging Cloud for Product Testing- Impetus White Paper
 
Cloud Computing using MDA
Cloud Computing using MDACloud Computing using MDA
Cloud Computing using MDA
 
Ec24817824
Ec24817824Ec24817824
Ec24817824
 
Java Magazine March April 2019
Java Magazine March April 2019Java Magazine March April 2019
Java Magazine March April 2019
 
A COMPARATIVE STUDY ON GOOGLE APP ENGINE AMAZON WEB SERVICES AND MICROSOFT WI...
A COMPARATIVE STUDY ON GOOGLE APP ENGINE AMAZON WEB SERVICES AND MICROSOFT WI...A COMPARATIVE STUDY ON GOOGLE APP ENGINE AMAZON WEB SERVICES AND MICROSOFT WI...
A COMPARATIVE STUDY ON GOOGLE APP ENGINE AMAZON WEB SERVICES AND MICROSOFT WI...
 
Mann assignment
Mann assignmentMann assignment
Mann assignment
 
Splunk and Multicloud
Splunk and Multicloud Splunk and Multicloud
Splunk and Multicloud
 
Splunk and Multicloud
Splunk and MulticloudSplunk and Multicloud
Splunk and Multicloud
 
JAVA Magazine Sep-Oct 2013
JAVA Magazine Sep-Oct 2013JAVA Magazine Sep-Oct 2013
JAVA Magazine Sep-Oct 2013
 

Mais de Kaing Menglieng

What is your sql server backup strategy tech_republic
What is your sql server backup strategy    tech_republicWhat is your sql server backup strategy    tech_republic
What is your sql server backup strategy tech_republicKaing Menglieng
 
Using sql server 2008's merge statement tech republic
Using sql server 2008's merge statement   tech republicUsing sql server 2008's merge statement   tech republic
Using sql server 2008's merge statement tech republicKaing Menglieng
 
Using object dependencies in sql server 2008 tech republic
Using object dependencies in sql server 2008   tech republicUsing object dependencies in sql server 2008   tech republic
Using object dependencies in sql server 2008 tech republicKaing Menglieng
 
Using hash fields in sql server tech republic
Using hash fields in sql server   tech republicUsing hash fields in sql server   tech republic
Using hash fields in sql server tech republicKaing Menglieng
 
Using grouping sets in sql server 2008 tech republic
Using grouping sets in sql server 2008   tech republicUsing grouping sets in sql server 2008   tech republic
Using grouping sets in sql server 2008 tech republicKaing Menglieng
 
Understand when to use user defined functions in sql server tech-republic
Understand when to use user defined functions in sql server   tech-republicUnderstand when to use user defined functions in sql server   tech-republic
Understand when to use user defined functions in sql server tech-republicKaing Menglieng
 
Sql server indexed views speed up your select queries part 1 - code-projec
Sql server indexed views   speed up your select queries  part 1 - code-projecSql server indexed views   speed up your select queries  part 1 - code-projec
Sql server indexed views speed up your select queries part 1 - code-projecKaing Menglieng
 
Sql server – query optimization – remove bookmark lookup – remove rid lookup
Sql server – query optimization – remove bookmark lookup – remove rid lookupSql server – query optimization – remove bookmark lookup – remove rid lookup
Sql server – query optimization – remove bookmark lookup – remove rid lookupKaing Menglieng
 
Sql server common interview questions and answers
Sql server   common interview questions and answersSql server   common interview questions and answers
Sql server common interview questions and answersKaing Menglieng
 
Sql server common interview questions and answers page 6
Sql server   common interview questions and answers page 6Sql server   common interview questions and answers page 6
Sql server common interview questions and answers page 6Kaing Menglieng
 
Sql server common interview questions and answers page 5
Sql server   common interview questions and answers page 5Sql server   common interview questions and answers page 5
Sql server common interview questions and answers page 5Kaing Menglieng
 
Sql server common interview questions and answers page 4
Sql server   common interview questions and answers page 4Sql server   common interview questions and answers page 4
Sql server common interview questions and answers page 4Kaing Menglieng
 
Sql server common interview questions and answers page 2
Sql server   common interview questions and answers page 2Sql server   common interview questions and answers page 2
Sql server common interview questions and answers page 2Kaing Menglieng
 
Sql server – 2008 – hardware and software requirements for installing sql se
Sql server – 2008 – hardware and software requirements for installing sql seSql server – 2008 – hardware and software requirements for installing sql se
Sql server – 2008 – hardware and software requirements for installing sql seKaing Menglieng
 
Speeding up queries with semi joins and anti-joins
Speeding up queries with semi joins and anti-joinsSpeeding up queries with semi joins and anti-joins
Speeding up queries with semi joins and anti-joinsKaing Menglieng
 
Speed up sql server apps - visual studio magazine
Speed up sql server apps  - visual studio magazineSpeed up sql server apps  - visual studio magazine
Speed up sql server apps - visual studio magazineKaing Menglieng
 
See sql server graphical execution plans in action tech republic
See sql server graphical execution plans in action   tech republicSee sql server graphical execution plans in action   tech republic
See sql server graphical execution plans in action tech republicKaing Menglieng
 
Reviewing sql server permissions tech republic
Reviewing sql server permissions   tech republicReviewing sql server permissions   tech republic
Reviewing sql server permissions tech republicKaing Menglieng
 
Query optimization how to search millions of record in sql table faster -
Query optimization   how to search millions of record in sql table faster  -Query optimization   how to search millions of record in sql table faster  -
Query optimization how to search millions of record in sql table faster -Kaing Menglieng
 

Mais de Kaing Menglieng (20)

What is your sql server backup strategy tech_republic
What is your sql server backup strategy    tech_republicWhat is your sql server backup strategy    tech_republic
What is your sql server backup strategy tech_republic
 
Using sql server 2008's merge statement tech republic
Using sql server 2008's merge statement   tech republicUsing sql server 2008's merge statement   tech republic
Using sql server 2008's merge statement tech republic
 
Using object dependencies in sql server 2008 tech republic
Using object dependencies in sql server 2008   tech republicUsing object dependencies in sql server 2008   tech republic
Using object dependencies in sql server 2008 tech republic
 
Using hash fields in sql server tech republic
Using hash fields in sql server   tech republicUsing hash fields in sql server   tech republic
Using hash fields in sql server tech republic
 
Using grouping sets in sql server 2008 tech republic
Using grouping sets in sql server 2008   tech republicUsing grouping sets in sql server 2008   tech republic
Using grouping sets in sql server 2008 tech republic
 
Understand when to use user defined functions in sql server tech-republic
Understand when to use user defined functions in sql server   tech-republicUnderstand when to use user defined functions in sql server   tech-republic
Understand when to use user defined functions in sql server tech-republic
 
Sql server indexed views speed up your select queries part 1 - code-projec
Sql server indexed views   speed up your select queries  part 1 - code-projecSql server indexed views   speed up your select queries  part 1 - code-projec
Sql server indexed views speed up your select queries part 1 - code-projec
 
Sql server – query optimization – remove bookmark lookup – remove rid lookup
Sql server – query optimization – remove bookmark lookup – remove rid lookupSql server – query optimization – remove bookmark lookup – remove rid lookup
Sql server – query optimization – remove bookmark lookup – remove rid lookup
 
Sql server common interview questions and answers
Sql server   common interview questions and answersSql server   common interview questions and answers
Sql server common interview questions and answers
 
Sql server common interview questions and answers page 6
Sql server   common interview questions and answers page 6Sql server   common interview questions and answers page 6
Sql server common interview questions and answers page 6
 
Sql server common interview questions and answers page 5
Sql server   common interview questions and answers page 5Sql server   common interview questions and answers page 5
Sql server common interview questions and answers page 5
 
Sql server common interview questions and answers page 4
Sql server   common interview questions and answers page 4Sql server   common interview questions and answers page 4
Sql server common interview questions and answers page 4
 
Sql server common interview questions and answers page 2
Sql server   common interview questions and answers page 2Sql server   common interview questions and answers page 2
Sql server common interview questions and answers page 2
 
Sql server – 2008 – hardware and software requirements for installing sql se
Sql server – 2008 – hardware and software requirements for installing sql seSql server – 2008 – hardware and software requirements for installing sql se
Sql server – 2008 – hardware and software requirements for installing sql se
 
Speeding up queries with semi joins and anti-joins
Speeding up queries with semi joins and anti-joinsSpeeding up queries with semi joins and anti-joins
Speeding up queries with semi joins and anti-joins
 
Speed up sql
Speed up sqlSpeed up sql
Speed up sql
 
Speed up sql server apps - visual studio magazine
Speed up sql server apps  - visual studio magazineSpeed up sql server apps  - visual studio magazine
Speed up sql server apps - visual studio magazine
 
See sql server graphical execution plans in action tech republic
See sql server graphical execution plans in action   tech republicSee sql server graphical execution plans in action   tech republic
See sql server graphical execution plans in action tech republic
 
Reviewing sql server permissions tech republic
Reviewing sql server permissions   tech republicReviewing sql server permissions   tech republic
Reviewing sql server permissions tech republic
 
Query optimization how to search millions of record in sql table faster -
Query optimization   how to search millions of record in sql table faster  -Query optimization   how to search millions of record in sql table faster  -
Query optimization how to search millions of record in sql table faster -
 

Changing SQL Server Name

  • 1. Changing the name of your SQL Server | TechRepublic ZDNet Asia SmartPlanet TechRepublic Log In Join TechRepublic FAQ Go Pro! Blogs Downloads Newsletters Galleries Q&A Discussions News Research Library IT Management Development IT Support Data Center Networks Security Search Home / Blogs / The Enterprise Cloud Follow this blog: The Enterprise Cloud s Changing the name of your SQL Server By Steven Warren September 22, 2007, 9:13 PM PDT Have you ever had to change the name of a server that has SQL Server installed on it? If you anwered yes, did you know that you also have to change the name in SQL Server? Here are the steps to perform the change. 1. Open SQL Server Management Studio and click New Query. 2. Type Select @@ServerName to verify that the server name is correct or incorrect. In this example, I changed the Windows 2003 from WIN2K3R2EE to SQL Server. I did not change the MapR Hadoop name in SQL Server 2005. It will still return the old name. Let’s fix it. Download Most Open, Enterprise-Grade Distribution for Hadoop. Try Now. www.mapr.com/Free-download Google Docs For Business Create & Upload Images, Tables, Equations, Drawings, Links & More! www.google.com/apps Airport operations Airports need to adapt to pressures We illustrate these needs here: www.amadeus.com/collaboration2020 Keep Up with TechRepublic A CNET PROFESSIONAL BRAND On TechRepublic: Reporting on security with Microsoft Audit Collection Services 3. Next, type sp_dropserver ‘WIN2K3R2EE’ Your Email Five Apps Google in the Enterprise Subscribe Today Follow us however you choose! http://www.techrepublic.com/blog/datacenter/changing-the-name-of-your-sql-server/192[08/29/2012 3:22:31 PM]
  • 2. Changing the name of your SQL Server | TechRepublic 4. You are now ready to add the correct name by typing sp_addserver ‘SQLSERVER’. local Media Gallery PHOTO GALLERY (1 of 15) Curiosity's autonomous 'seven minutes of... More Galleries » 5. Restart sql server and the sql server agent by opening a command prompt and typing net stop mssqlserver and net start msssqlserver. To stop and start the sql server agent, type net stop or start sqlserveragent. VIDEO (1 of 13) Cracking Open: HTC Titan II More Videos » Hot Questions View All 3 SSL redirection 3 Switching from a Job to a career in the IT field: Need an IT pro's advice 2 windows 7 won't shutdown and keeps switching on 2 can anyone suggest if any such software exist with similar functionality? Ask a Question Hot Discussions View All 221 Should developers be sued for security holes? 79 The sitting duck that is open source http://www.techrepublic.com/blog/datacenter/changing-the-name-of-your-sql-server/192[08/29/2012 3:22:31 PM]
  • 3. Changing the name of your SQL Server | TechRepublic 27 Five fast Windows desktop search utilities 6. Click New Query in SQL Server Management Studio and type select @@servername to verify everything is correct and you have successfully changed the sql server name. 24 Five speedy Windows desktop search apps Start a Discussion White Papers, Webcasts, and Downloads Webcasts Live Webcast: Succeeding in a World Gone Mobile The mobile revolution impacts every business and every individual, so it's Get IT Tips, news, and reviews delivered directly to your inbox by subscribing to TechRepublic’s free imperative you understand SMS, MMS, newsletters. iOS and all the rest. How can location services help? Can apps save you time and money? Watch this webinar to explore a world gone mobile! From Citrix Online Whitepapers Test SQL Server 2000 Storage considerations for Analytics and the Smarter Planet Clustering in VMware virtual desktops From IBM Workstation Webcasts On-demand Webcast: Get from Wow to How with mobile workstyles and cloud services 3 Join the conversation! Add Your Opinion From Citrix Systems, Inc Comments Follow via: Whitepapers Information Assurance Education Staff Picks Top Rated Most Recent My Contacts See All Comments From Regis University RE: Changing the name of your SQL Server 0 Votes Blog Archive blangston1 20th Oct 2009 August 2012 December 2011 Did you ever find out how to do this? July 2012 November 2011 View in thread June 2012 October 2011 May 2012 September 2011 April 2012 August 2011 RE: Changing the name of your SQL Server 0 March 2012 July 2011 Votes http://www.techrepublic.com/blog/datacenter/changing-the-name-of-your-sql-server/192[08/29/2012 3:22:31 PM]
  • 4. Changing the name of your SQL Server | TechRepublic phulchand 11th Oct 2009 February 2012 June 2011 January 2012 hi....thanx man...!!!:) View in thread RE: Changing the name of your SQL Server 0 mrt181 10th Aug 2009 Votes Thank you. Do you have any idea if it is necessary and possible to also change the local user group names and the server permissions. I.e, I have renamed my server from db to db01. The server... Read Whole Comment + View in thread See all comments Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion. Join Login Search Trending Topics Server virtualization Microsoft Excel SECURITY business analyst router SOFTWARE/WEB DEVELOPMENT IT OPERATIONS Microsoft Windows XP HARDWARE server it consultant Wireless LANs job Project management Featured TechRepublic Pro Downloads Explore Services Blogs About Us Downloads Membership Members Newsletters QA RSS Feeds DIscussions Site Map 500 Things You Essential IT Forms Guide to Mobile Quick Reference: Training Site Help Need To Know To Computing Support Linux Commands Store Feedback Succeed In Your IT Research Library FAQ career Photos Advertise Videos Reprint Policy Popular on CBS sites: US Open | PGA Championship | iPad | Video Game Reviews | Cell Phones © 2012 CBS Interactive. All rights reserved. Privacy Policy | Ad Choice | Terms of Use | Advertise | Jobs A ZDNet Web Site | Visit other CBS Interactive Sites: CBS Cares CBS Cares Go http://www.techrepublic.com/blog/datacenter/changing-the-name-of-your-sql-server/192[08/29/2012 3:22:31 PM]