Book description
SQL (Structured Query Language) is a standardized query language for requesting information from a database. Historically, SQL has been the choice for database management systems running on minicomputers and mainframes. Increasingly, however, SQL is being adapted to PC database systems because it supports distributed databases--databases that are spread out over several computer systems, so that several users on a local-area network can access the same database simultaneously. Although there are different dialects of SQL, it is the closest thing to a standard query language that currently exists. SQL in a Nutshell is a practical and useful command reference to the latest release of the Structured Query Language (SQL99), helping readers learn how their favorite database product supports any standard SQL command. This book presents each of the SQL commands and describes its use in both commercial (Microsoft SQL Server 2000 and Oracle 8i) and open source (MySQL, PostgreSQL 7.0) implementations. Each command reference includes the command syntax (by vendor, if the syntax differs across implementations), a description, and informative examples that illustrate important concepts and uses. SQL in a Nutshell is more than a convenient reference guide for experienced SQL programmers, analysts, and database administrators. It's also a great learning resource for novice and auxiliary SQL users such as system administrators, users of packaged client/server products, and consultants who need to be familiar with the various SQL dialects across many platforms.
Table of contents
-
SQL in a Nutshell
- Preface
- 1. SQL, Vendor Implementations, and Some History
- 2. Foundational Concepts
-
3. SQL Statements Command Reference
- Recommended Reading Approach
- Quick SQL Command Reference
- ALTER PROCEDURE
- ALTER TABLE
- ALTER TRIGGER
- ALTER VIEW
- CALL
- CASE
- CAST
- CLOSE CURSOR
- COMMIT TRANSACTION
- Concatenation Operators
- CONNECT
- CREATE DATABASE
- CREATE FUNCTION
- CREATE INDEX
- CREATE PROCEDURE
- CREATE ROLE
- CREATE SCHEMA
- CREATE TABLE
- CREATE TRIGGER
- CREATE VIEW
- DECLARE CURSOR
- DELETE
- DISCONNECT
- DROP Statements
- DROP DATABASE
- DROP FUNCTION
- DROP INDEX
- DROP PROCEDURE
- DROP ROLE
- DROP TABLE
- DROP TRIGGER
- DROP VIEW
- FETCH
- GRANT
- INSERT
- LIKE Operator
- OPEN
- Operators
- RETURN
- REVOKE
- ROLLBACK
- SAVEPOINT
- SELECT
- SET CONNECTION
- SET ROLE
- SET TIME ZONE
- SET TRANSACTION
- START TRANSACTION
- TRUNCATE TABLE
- UPDATE
- Conclusion
- 4. SQL Functions
- 5. Unimplemented SQL99 Commands
- A. SQL99 and Vendor-Specific Keywords
- Index
- Colophon
Product information
- Title: SQL in a Nutshell
- Author(s):
- Release date: December 2000
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565927445
You might also like
book
SQL in a Nutshell, 3rd Edition
For programmers, analysts, and database administrators, SQL in a Nutshell is the essential reference for the …
book
MySQL in a Nutshell, 2nd Edition
When you need to find the right SQL keyword or MySQL client command-line option right away, …
book
SQL For Dummies®
See how SQL interfaces with today's environments Start building and using relational databases with SQL's newest …
book
SQL in a Nutshell, 4th Edition
For programmers, analysts, and database administrators, this Nutshell guide is the essential reference for the SQL …