
Foreword
Jim Gray
Microsoft Research
In the last decade, SQL has evolved from the pure-relational model to a post-
relational model. This book is a lucid explanation of that evolution. At its core,
the old SQL is tables-of-rows-and-columns. The new SQL adds typed-tables, each
containing a set of objects accessed via methods. This is an enormous advance
in the utility and applicability of the SQL languagemand it goes a long way
toward reducing the impedance mismatch between databases and programming
languages.
SQL's new object model is the basis of the extensions to text, spatial, image
and data mining data types and methods. SQL has also grown to support OLAP
(on-line analytic processing) operations and functions, as well as better integra-
tion with Java, and to have cleaner support for data links (external files as values)
and data wrappers (foreign data sources).
All these changes are documented in the SQL standards. Unfortunately, those
standards are written by language lawyers and are very difficult to read. Fortu-
nately, Jim Melton, who is the editor of the SQL:1999 standard (and the SQL-92
standard), is also able to write lucid descriptions that most of us can read. Jim
wrote a previous volume that explained the "classical" aspects of SQL:1999: the
table-row-column stuff. 1 This book explains the post-relational SQL:1999 aspects:
objects, links, wrappers, and OLAP. It also hints at the progress in the emerging
topics of XML, text, spatial, image, and data mining.
SQL must interoperate with almost all languages, it must be persistent, and it
has to worry about security and schema evolution. These are not issues that most
1
Jim Melton and Alan Simon,
SQL:1999mUnderstanding Relational Language Components
(San
Francisco: Morgan Kaufmann Publishers, 2002).
oo
vii
评论