Installing Microsoft SQL Server Express Edition

This section describes how to download and install Microsoft SQL Server Express Edition.

If you want to learn JDBC API for SQL Server databases, and you don't have access to any SQL Server instance, you can follow what I did to install a copy of SQL Server Express Edition on your Windows computer.

1. Go to the SQL Server download Website at https://www.microsoft.com/en-us/sql-server/sql-server-downloads.

2. Then click on the "Download Now" button in the "Express" section to start the download.

3. Save the download file to C:\temp directory. When the download is done, you should see SQL2019-SSEI-Expr.exe with 6,376,336 bytes.

4. Double click c:\temp\SQL2019-SSEI-Expr.exe. The setup window shows up.

5. Select "Basic" to install the install SQL Server with default options.

6. Follow instructions given by the setup program to finish the installation.

When installation is done, run Windows Task Manager with "Show processes from all users" turned on. You should see a process called sqlservr.exe running in the process list:

sqlservr.exe      00      214,932 K

If you look at file folders, you will see that SQL Server 2019 Express Edition is installed in the "C:\Program Files\Microsoft SQL Server\MSSQL15.SQLEXPRESS" folder.

Table of Contents

 About This Book

 JDBC (Java Database Connectivity) Introduction

 JDK (Java SE) Installation

Microsoft SQL Server Express Edition

 What Is Microsoft SQL Server Express Edition

Installing Microsoft SQL Server Express Edition

 Installing Microsoft SQL Server 2014 Express Edition

 SQLCMD SQL Server Command Line Tool

 Installing AdventureWorks Sample Database

 Create Login User in SQL Server

 Microsoft JDBC Driver for SQL Server

 Microsoft JDBC Driver - Query Statements and Result Sets

 Microsoft JDBC Driver - DatabaseMetaData Object

 Microsoft JDBC Driver - DDL Statements

 Microsoft JDBC Driver - DML Statements

 SQL Server - PreparedStatement

 SQL Server CLOB (Character Large Object) - TEXT

 SQL Server BLOB (Binary Large Object) - BLOB

 Using Connection Pool with JDBC

 JDBC-ODBC Bridge Driver - sun.jdbc.odbc.JdbcOdbcDriver

 JDBC-ODBC Bridge Driver - Flat Text Files

 JDBC-ODBC Bridge Driver - MS Access

 JDBC-ODBC Bridge Driver - MS SQL Server

 Archived Tutorials

 References

 Full Version in PDF/EPUB