0% found this document useful (0 votes)
15 views2 pages

History and Evolution of SQL Standards

The SQL language was originally developed in the 1970s at IBM for a relational database project called System R. SQL became available commercially in databases by the late 1970s and was standardized by ANSI and ISO. The SQL standard has evolved through several versions with SQL-99 approved in 1999, adding new features like object-orientation and packages.

Uploaded by

Arun Kumar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views2 pages

History and Evolution of SQL Standards

The SQL language was originally developed in the 1970s at IBM for a relational database project called System R. SQL became available commercially in databases by the late 1970s and was standardized by ANSI and ISO. The SQL standard has evolved through several versions with SQL-99 approved in 1999, adding new features like object-orientation and packages.

Uploaded by

Arun Kumar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

HISYORY OF SQL

The SQL language was originally developed at the IBM research laboratory in
San José, in connection with a project developing a prototype for a relational
database management system called System R in the early 70s.

The first database management systems based on SQL became available


commercially by the end of the 70s. At the same time, relational database
management systems based on other languages were published. The best-known
alternative for SQL was the QUEL language in the Ingres system.

SQL was elected for standardization. Both the American ANSI and the
international ISO took part in the standardization

In 1986, the first SQL standard was approved (the core SQL about 40 pages +
the module language, and embedding in programming languages, altogether
about 100 pages)

In 1989, an integrity enhancement was approved by ISO, containing, among


other features, the specification possibility for keys, foreign keys and some
other constraints (c. 20 pages)

In 1992, the new version SQL-92 (also called SQL2) was approved. It contained
large enhancements to the language. The size of the standard was about. 600
pages + the data dictionary standard; altogether c. 1000 pages. Three levels
were specified for SQL

 the basic level, mainly containing the core of the old SQL/89
 the intermediate level, containing new data types, operations and
structures
 the full SQL with even more data types and structures

Instead of one massive standard, the decision was taken to continue


development in parts.

In 1995, the SQL/CLI call level interface was approved, i.e. the interface
specification for use through programs. The standard specifies the ODBC
interface.

In 1996, the SQL/PSM (persistent stored modules) was approved as a database


procedure specification language.
In 1999, the new version SQL-99 (also called SQL3) was approved. The
standard is divided into five parts.

 Framework (introduction)
 Foundation (core)
 CLI (call level interface)
 PSM (persistent stored modules)
 Bindings (to programming languages)

Altogether, the standard is about 2,100 pages long. It contains large


enhancements to the 92 standard, such as new data types, database procedures
and triggers, object-oriented features, more comprehensive integrity checks,
recursive queries, and data warehouse functions. Due to the new features SQL-
99 is quite far from the principles of the relational model of data.

The conformance to the standard is no longer based on levels but there is a core,
to which additional features can be added as packages.

The embedding of SQL into a Java program (SQLJ) was approved on 2000. At


least the standards for multimedia enhancements and data warehouse features
are being developed.

Common questions

Powered by AI

The continuous updates to SQL standards in the 80s and 90s were motivated by a need to stay aligned with technological advancements such as the rise of more sophisticated data management needs and the increasing complexity of database applications . Industry demands required SQL to evolve from a simple query language into a robust tool capable of supporting diverse and complex application requirements, including data integrity, procedural logic, and object-oriented capabilities, thus ensuring its relevance and utility in a broad range of contexts .

The introduction of recursive queries in SQL-99 allows for more complex data retrieval tasks, such as querying hierarchical data structures like organizational charts . Data warehouse functions enhance SQL's capacity to handle large datasets efficiently, optimizing operations like data aggregation and analysis crucial for business intelligence applications . These enhancements significantly expand SQL's data processing capabilities compared to earlier versions, making it more powerful for modern data needs.

The separation of SQL-99 into distinct parts like Framework, Foundation, CLI, PSM, and Bindings allows for modular implementation whereby systems can add functionalities progressively based on their needs . This influences database system design by encouraging a more component-based architecture, enabling developers to integrate only the necessary features without implementing the entire standard, thus providing flexibility in scaling and customizing database solutions to fit specific application requirements .

The initial SQL standard in 1986 was a relatively brief document, about 100 pages, focusing on embedding SQL into programming languages. By 1989, enhancements like keys and foreign keys were added. By 1992, the SQL-92 standard greatly expanded to about 1,000 pages, introducing new data types, operations, and structures organized into basic, intermediate, and full levels . The 1999 revision (SQL-99) expanded further into object-oriented features, database procedures, triggers, and recursive queries, and included five parts such as CLI and PSM, significantly deviating from the relational model . This evolution reflects the growing complexity and capabilities needed for modern database management systems.

SQL/CLI defined the Call Level Interface, enabling SQL to be used through software applications, thus standardizing how SQL is embedded in programs via interfaces like ODBC . SQL/PSM added Persistent Stored Modules, allowing the creation of reusable database procedures and functions, significantly enhancing database automation and functionality, making SQL more powerful as a programming resource within databases . Together, these extensions improved programmability and integration of SQL databases into applications.

The integration of object-oriented features within SQL-99 presented challenges such as increased complexity, which could complicate the learning curve for developers accustomed to traditional relational paradigms . However, it also provided benefits by facilitating more sophisticated data modeling through object-relational mapping, supporting complex data types and structures essential for modern applications, thus offering more flexibility and power within SQL databases .

The introduction of multiple conformance levels (basic, intermediate, and full) in SQL-92 allowed for a tiered approach to adopting the standard, enabling vendors to claim partial compliance depending on their implementation capabilities . This meant that database products could progressively adopt more complex features while remaining compliant with the core SQL standard, facilitating broader industry acceptance and smoother transitions for existing systems as features expanded.

SQL's development was marked by its election for standardization over alternatives like the QUEL language used in the Ingres system. While QUEL had its own unique features, SQL's selection for standardization by ANSI and ISO in 1986 likely offered it more robustness and uniformity across platforms, accelerating its adoption compared to alternatives . This suggests that SQL's early standardization played a crucial role in its dominance, despite the technical capabilities of competitors like QUEL.

The SQL-99 standard included features such as object-oriented capabilities, database procedures, and triggers, which were far removed from the original principles of the relational model which focused purely on relations and data manipulation through declarative querying . This incorporation of complex procedural and object-oriented features illustrates a significant shift towards accommodating evolving database technology needs and applications that require more than the original relational concepts provided.

The approval of SQLJ in 2000 was significant as it formalized the way SQL could be embedded into Java programs, which was crucial given Java's rapidly growing role in enterprise-level applications . This standard supports smoother integration and execution of SQL within Java environments, facilitating ease of use and enhancing application performance by aligning database operations with Java's object-oriented framework.

You might also like