... you need to master Java database programming techniques.
Companion Web Site
Table of Contents
Java Database Programming Bible
Preface
Part I - Introduction to Databases, SQL, and ... can be accessed using the same database management tools used to
access a user database. Figure 1-1 shows a SQL Server display of the tables in the
Customers database discussed in...
... used to remove a database is as simple as the CREATE
DATABASE command. The SQL DROP command is used:
DROP DATABASE CONTACTS;
Relational databases store data in tables. Most databases may contain ... float
SMALLINT short 16-bit integer values
TIME java. sql.Time Thin wrapper around java. util.Date
TIMESTAMP java. sql.Timestamp Composite of a java. util.Date and a separate
nanos...
... defined in the JDBC 2.0 and 3.0
extensions)
§ java. sql.Connection
§ java. sql.Statement
§ java. sql.CallableStatement
§ java. sql.PreparedStatement
§ java. sql.ResultSet
§ JDBC 2.0 API Compliance, ...
JDBC is a Java Database Connectivity API that lets you access virtually any tabular
data source from a Java application. In addition to providing connectivity to a wide
ran...
... LONGVARCHAR as a Java input stream.
DATE java. sql.Date Thin wrapper around java. util.Date
TIME java. sql.Time Thin wrapper around java. util.Date
TIMESTAMP java. sql.Timestamp Composite of a java. util.Date ...
LONGVARCHAR as a Java input stream.
DATE java. sql.Date Thin wrapper around java. util.Date
TIME java. sql.Time Thin wrapper around java. util.Date
TIMESTAMP ja...
... can easily be calculated.
Listing 8-1: Creating and dropping indexes
package java_ databases.ch04;
import java. sql.*;
public class PrintIndexedResultSet{
public static void main(String ... stmt.executeUpdate("CREATE INDEX STATE_INDEX ON
MEMBER_PROFILES(STATE)");
java. util.Date startTime = new java. util.Date();
ResultSet rs = stmt.executeQuery(query);
Re...