MS SQL SERVER 2022 & VISUAL STUDIO 2022

SQLite

Lesson-1: Installing MS SQL SERVER 2022 - Evaluation Edition

Lesson 2: How to Install Microsoft SQL Server 2022 Evaluation Edition

Step 1: Download SQL Server 2022 Evaluation Edition

  1. Visit the Official Microsoft Website:

  2. Register for the Evaluation:

    • You might be required to sign in with your Microsoft account.
    • Fill in the necessary details for registration and submit.
  3. Download the Installer:

    • Once registered, the download for the SQL Server installer (SQL2022-SSEI-Eval.exe) should start automatically. Save the file to your computer.

Step 2: Run the SQL Server Installer

  1. Launch the Installer:

    • Locate the downloaded SQL2022-SSEI-Eval.exe file and double-click to run it.
  2. Select Installation Type:

    • You will be prompted to select an installation type:
      • Basic: Quick installation with default settings.
      • Custom: Allows more configuration options.
      • Download Media: Downloads the full setup files for later use.
    • For a basic installation, select Basic.
  3. Accept the License Terms:

    • Read and accept the license terms by checking the box and then click Accept.
  4. Choose the Installation Location:

    • By default, SQL Server will be installed in C:\Program Files\Microsoft SQL Server. You can change the location if desired.
  5. Download and Install:

    • The installer will download and install the required files. This process may take several minutes.

Step 3: Configure SQL Server

  1. Instance Configuration:

    • You may be prompted to name the SQL Server instance. The default instance name is MSSQLSERVER. You can also choose a named instance.
  2. Server Configuration:

    • Choose the authentication mode:
      • Windows Authentication Mode: Only allows Windows users to authenticate.
      • Mixed Mode: Allows both Windows and SQL Server users to authenticate.
    • If you select Mixed Mode, you’ll need to create a strong password for the sa (system administrator) account.
  3. Feature Selection:

    • Select the SQL Server features you need (e.g., Database Engine Services, SQL Server Replication, etc.).
    • By default, the necessary features for a basic SQL Server instance are selected.
  4. Collation Settings:

    • You can leave the default collation settings unless you have specific collation requirements.
  5. Set SQL Server Administrators:

    • Add users who should have administrative privileges over the SQL Server instance.
  6. Complete Installation:

    • Review the summary of the selected options and click Install.
    • The installation process will take a few minutes to complete.

Step 4: Verify the Installation

  1. Open SQL Server Management Studio (SSMS):

  2. Connect to the SQL Server Instance:

    • In SSMS, connect to your SQL Server instance using the credentials you configured during installation.

Lesson 3: How to Uninstall Microsoft SQL Server OLDER VERSION

Step 1: Uninstall SQL Server from Control Panel

  1. Open Control Panel:

    • Press Win + R, type control, and hit Enter.
    • Navigate to Programs > Programs and Features.
  2. Find SQL Server Installation:

    • Look for Microsoft SQL Server in the list of installed programs.
    • If you see multiple entries for different SQL Server components, make sure to select the main SQL Server instance first.
  3. Initiate Uninstallation:

    • Right-click on Microsoft SQL Server (version) and select Uninstall/Change.
    • This will open the SQL Server Installation Center.
  4. Select the Instance to Remove:

    • In the SQL Server Installation Center, click on Remove SQL Server instance.
    • Choose the instance you wish to remove from the list of installed SQL Server instances and click Next.
  5. Select Features to Uninstall:

    • You’ll be presented with a list of SQL Server features associated with the instance.
    • Ensure all features are selected if you want to completely remove SQL Server.
  6. Proceed with Uninstallation:

    • Review the features to be uninstalled and click Next.
    • SQL Server will begin the process of uninstalling the selected components. This might take several minutes.
  7. Finish Uninstallation:

    • Once the uninstallation process is complete, click Close.

Step 2: Remove SQL Server Shared Components

Even after uninstalling the SQL Server instance, some shared components might remain. These include tools like SQL Server Management Studio (SSMS) or SQL Server Browser.

  1. Return to Programs and Features:

    • In the Programs and Features list, look for any other components that start with “Microsoft SQL Server,” such as:
      • SQL Server Management Studio
      • SQL Server Data Tools
      • SQL Server Browser
      • SQL Server Native Client
    • Right-click each one and select Uninstall.
  2. Complete the Uninstallation:

    • Follow the prompts to remove these components from your system.

Step 3: Delete SQL Server Folders (Optional)

If you want to ensure that no traces of SQL Server remain on your system, you can manually delete the SQL Server installation folders.

  1. Navigate to the Installation Folders:

    • By default, SQL Server is installed in the following directories:
      • C:\Program Files\Microsoft SQL Server
      • C:\Program Files (x86)\Microsoft SQL Server
  2. Delete the Folders:

    • If these folders still exist after uninstallation, you can delete them manually.

Step 4: Clean Up the Registry (Advanced, Optional)

If you’re comfortable editing the Windows Registry, you can remove SQL Server-related registry entries. This step is optional and should be done with caution.

  1. Open the Registry Editor:

    • Press Win + R, type regedit, and hit Enter.
  2. Find SQL Server Entries:

    • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server.
    • Delete the relevant keys associated with the uninstalled SQL Server instance.
  3. Clean Up Services:

    • Check HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services for any SQL Server-related services and delete them if they are still present.

Step 5: Restart Your Computer

After uninstalling the SQL Server and performing any cleanup, restarting your computer is recommended to ensure all changes are applied.

Lightbulb logo
Lecturus

Lecturus is a platform that offers training to individuals interested in developing or enhancing their computer skills, as well as a career change or advancement.

Get In Touch

147 Prince St, Brooklyn, NY 11201

Lightbulb logo
Lecturus

Lecturus is a platform that offers training to individuals interested in developing or enhancing their computer skills, as well as a career change or advancement.

Get In Touch

147 Prince St, Brooklyn, NY 11201

Scroll to Top