Go Back
click on home button to open mainpage

SQL

1975, USA

 



papers & manuals

software

keywords

Description

SQL

STRUCTURED QUERY LANGUAGE. A 'language' used with large and medium size DataBase applications to provide a more 'natural language' interface between human and system

SQL is implemented at many levels of database communication, from a simple Access form list box right up to high-volume communications between mainframes. SQL is widely implemented in almost every DBMS that supports SQL statements for communication. The reason for this level of acceptance is partially explained by the amount of effort that went into the theory and development of the standards.

The vast majority of the language has not changed through these updates. We can all profit from the fact that almost all of the code we wrote to SQL standards of 1989 is still perfectly usable. Or in other words, as a new student of SQL there is over ten years of SQL code out there that needs your expertise to maintain and expand.

Most DBMS are designed to meet the SQL92 standard.Since many of the advanced features of SQL92 have yet to be implemented by DBMS vendors, there has been little pressure for a new version of the standard. Nevertheless a SQL99 standard was developed to address advanced issues in SQL. All of the core functions of SQL, such as adding, reading and modifying data, are the same. As of early 2001, no vendor has implemented the SQL99 standard.

There are three areas where there is current development in SQL standards.

  • Improving Internet access to data, particularly to meet the needs of the emerging XML standards.
  • Integration with Java, either through Sun's Java Database Connectivity (JDBC) or through internal implementations.
  • The groups that establish SQL standards are considering how to integrate object- based programming models.

 

Flavors of SQL

The computer industry (like most industries) both benefits and suffers from standards. As said SQL is an open standard, not owned by a company, and the standard comes from ANSI and ISO. Therefore the SQL standard from ANSI/ISO is the "pure" SQL and called ANSI-SQL.

Problems emerge to frustrate this pureness:

First of all every DBMS vendor wants to differentiate their DBMS products. So if you look at the feature set of each DBMS product you see that not only does the product support ANSI-SQL but it also offers extra features, enhancements or extensions that are available only from individual vendors. For example, most vendors offer a field type which auto- increments even though this is not described in the SQL standards. These additions to ANSI-SQL are generally proprietary and will not work if you try to use them on competitor's SQL products.

Many of these features are powerful and robust, but since they vary from vendor to vendor, programmers should use them with caution. It is always safest to stick with pure SQL whenever possible.

Such enhancements are not all bad because these extensions are very useful. For example, ANSI-SQL does not contain an automatic way to assign a serial number to each new record but most DBMS sold today have added this feature. Since serial numbering is so common programmers are happy to have the enhancement. However, the method of implementation is not uniform, so code written to get the serial number from data in one DBMS may not work when used with another vendor's DBMS.
As a beginner most of what you learn is pure ANSI-SQL and thus is consistent across all vendor's products.

 

 

Language Specifications

to be

 

Chronology

1970

The father of relational databases, and thus SQL, is Dr. E.F. "Ted" Codd who worked for IBM. After Codd described a relational model for databases in 1970, IBM spent a lot of time and money researching how to implement his ideas.

1978

IBM came to market with a product named System/R in 1978.

But other companies had formed and created relational database products before IBM was ready to release System/R.

The first to market was Relational Software's product named Oracle and the second was Relational Technology's Ingres.

1982

IBM then released improved products named SQL/DS and DB2. Oracle and DB2 are still available today in nth generation forms while the Ingres technology was bought by Computer Associates.

1986

The commercial acceptance of SQL was promoted by the formation of SQL Standards committees by the American National Standards Institute and the International Standard Organization.

1989

The ISO AND ansi publish a specification known as SQL-89.

1992

An improved version SQL-92 appears adding some 600 pages to the descriotion of the 1989 standard.

1999

The third generation is published as SQL-99

 

 

bar

Go Back Last Updated on April 25, 2004 For suggestions please mail the editors 


Footnotes & References