JDBC for SQL Server - Herong's Tutorial Examples - v3.14, by Herong Yang
What Is Microsoft SQL Server Express Edition
This section provides a quick introduction on Microsoft SQL Server Express Edition. You don't need Express Edition if you have access to a regular SQL Server.
Microsoft SQL Server Express Edition is the free version of the Microsoft SQL Server. You can download, install and use it to learn JDBC API for SQL Server databases.
With SQL Server Express Edition installed on your local computer, you will get all the required information for the JDBC driver to access a SQL Server database as listed below:
However, if you have access to an existing SQL Server database with the above information provided, you don't need to install SQL Server Express Edition and skip all tutorials in this chapter.
Table of Contents
JDBC (Java Database Connectivity) Introduction
►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