Structured Query Language (SQL) is a specialized language for updating, deleting, and requesting information from databases. SQL is an ANSI and ISO standard, and is the de facto database query language. A variety of established database products support SQL, including products from Oracle and Microsoft SQL Server. It is widely used in both industry and academia, often for enormous, complex datbases. (Base, 2013).SQL was developed in the 1970’s by IBM to initially manipulate and retrieve data in IBM system R. The SQL language was standardized in 1986 by the American National Standards Institute (ANSI); however, later releases were released as International Organization Standardization (ISO) standards. (Inc., 2013)
Although IBM authored SQL, the first SQL implementation was provided by Oracle Corporation (then called Relational Software Inc.). Early commercial implementations were concentrated on midsized UNIX-based DBMSs, such as Oracle, Ingres, and Informix. IBM followed in 1981 with SQL/DS, the forerunner to DB2, which debuted in 1983. (Unknown, 2010)
ANSI published the first SQL standard (SQL-86) in 1986. An international version of the standard issued by ISO appeared in 1987. A significant update to SQL-86 was released in 1989 (SQL-89). Virtually, all relational DBMSs that you encounter today support most of the 1986 standard. (Unknown, 2010)
In 1992, the standard was revised again (SQL-92), adding more capabilities to the language. Because SQL-92 was s superset of SQL-89, older database application programs ran under the new standard with minimal modifications. In fact, until October 1996, DBMS vendors could submit their products to NIST (National Institute for Standards and Technology) for verification of SQL standard compliance. The testing and certification process provided significant motivation for DBMS vendors to adhere to the SQL standard. Although discounting standard compliance testing saves vendors money, it also makes it easier for products to diverge from the standard. (Unknown, 2010)
In SQL-92 standard was superseded by SQL:1999, which was once again a superset of the preceding standard. The primary new features of SQL:1999 supported the object-relational data model. (Unknown, 2010)
The SQL:1999 standard also adds extension to SQL to allow methods / functions/ procedures to be written in SQL or to be written in another programming language such as C++ or Java and then invoked from within another SQL statement. As a result, SQL becomes less “relational,” a trend decried by some relational purists. (Unknown, 2010)
Even the full SQL:1999 standard does not turn SQL into a complete, stand-alone programming language. In particular, SQL lacks I/O statements. This makes perfect sense, since SQL should be implementation and operating system independent. However, the full SQL:1999 standard does includes operations such as selection and iteration that makes it computationally complete. These language features, which are more typical of general-purpose programming language, are used when writing stored procedures and triggers. (Unknown, 2010)
The SQL standard has been updated three times since the appearance of SQL:1999 in versions named SQL:2003, SQL:2006, and SQL:2008. As well as fleshing out the capabilities for the core relational features and extending object-relational support, these revisions have added support for XML (Extended Markup Language). XML is a platform-independent method for
Related Documents: Database: Sql and Sql Standard Essay
1. How many revisions of the standard have there been? The SQL standard has gone through a number of revisions: Year Name Alias Comments 1986 SQL-86 SQL-87 First formalized by ANSI. 1989 SQL-89 FIPS127-1 Minor revision, in which the major addition were integrity constraints. Adopted as FIPS 127-1. 1992 SQL-92 SQL2, FIPS 127-2 Major revision (ISO 9075), Entry Level SQL-92 adopted as FIPS 127-2. 1999 SQL:1999 SQL3 Added regular expression matching, recursive queries (e.g. transitive closure), triggers…
SQL Proprietary extensions Reasons for proprietary extensions When everyone is said in done, SQL explanations train SQL database engine concerning the coveted end-state condition, yet don't need to provide orderly strategy to the engine. For example, in taking care of a SELECT explanation, the database engine system may redden buffers, interpret sectors from disk, unclean write caches, go after linked lists, and so on., none of which the software engineer need to know. However with most SQL engines…
DATABASE FINAL EXAM: What does the update command do? It allows you to update data. What do the inner/full outer join commands do? The INNER JOIN keyword selects all rows from both tables as long as there is a match between the columns in both tables. The FULL OUTER JOIN keyword returns all rows from the left table (table1) and from the right table (table2). The FULL OUTER JOIN keyword combines the result of both LEFT and RIGHT joins. What does the Alias command do? SQL aliases are used to…
A database is a table consisting ofcolumns (fields) and rows (records) where each column contains a specific attribute and each row features a certain value for the corresponding attribute. The number of columns within a single table depends on how many different types/categories of information we need to store within a database, while the number of rows is defined by the quantity of the objects that have to be introduced categorized records for. This kind of simple organization of the data in database…
Databases: Concept, Design, and Functionality A relational database is a maintained collection of separate, related tables containing data stored in fields (columns) called attributes and records (rows) called records (Definition Rel DB, 2014). Relationships between the tables are created by utilizing a common field or key. Keys are data points used to identify unique values or records within tables, and provide a logical method to access a record within the table (Gilfillan, 2002).…
SQL Structured Query Language is a special-purpose programming language designed for managing data held in a relational database management system (RDBMS). Originally based upon relational algebra and tuple relational calculus, SQL consists of a data definition language and a data manipulation language. The scope of SQL includes data insert, query, update and delete, schema creation and modification, and data access control. Although SQL is often described as, and to a great extent is, a declarative…
MET CS 669 Database Design and Implementation for Business SQL Lab 4 Instructions: Procedural SQL Objective The objective of this lab is to teach you how to develop and use basic stored procedures and triggers the procedural language of your chosen DBMS. Prerequisites Before attempting this lab, it is best to read the textbook and lecture material covering the objectives listed above. While this lab shows you how to create and use these constructs in SQL, the lab does not explain in full the theory behind the…
Introduction to MySQL Working with Database Introduction to MySQL Creating Tables Altering Tables Dropping Tables Queries • Database can be created in two way: – Using PHPMyAdmin – Using SQL command 1 __________________________ 2 _________________________ ____________________________ ___________________________ ____________________________ ___________________________ ____________________________ ___________________________ ____________________________ ___________________________…