Business System 12, or simply BS12, was one of was the first fully relational database management systems, designed and implemented by IBM's UK Bureau Service subsidiary. Programming started in 1978 and the first version was delivered in 1982. It was never widely used and essentially disappeared soon after the division was shut down in 1985.
BS12's lasting contribution to history was the use of a new query language based on ISBL, created at their UK Scientific Centre. Details of the engine were picked up from the famous System R underway in the US at the same time, but they decided to dispose with SQL and modify ISBL instead.
BS12 included a number of interesting features that still have yet to appear on SQL-based systems, some a side effect of using ISBL, others due to deliberate design. For instance, a view could be based on a statement that was table-scope as opposed to column-scope. This allowed you to create views that represented a difference between two tables for instance.
Another feature that could have easily been included in SQL systems is the use of a system tables holding the structure of the database. New tables could be created by inserting a row into the TABLES catalog, and then columns added to it by inserting into COLUMNS. SQL systems have features to return similar data, but they aren't SQL-based and therefore you can't do something as simple as SELECT * FROM TABLES WHERE size>10000, a particularly useful query.
Example
Sample query from M. C. Jones website (http://www.mcjones.org/System_R/bs12.html):
T1 = JOIN(EMP, DEPT) T2 = SUMMARY(T1, GROUP(DEPTNUM), EMPS=COUNT, SALSUM=SUM(SALARY)) T3 = SELECT(T2, SALSUM > BUDGET) etc.
External links
Business System 12 (BS12) (http://www.mcjones.org/System_R/bs12.html)
TQL - A draft query language influenced by BS12 (http://www.c2.com/cgi/wiki?TopsQueryLanguage)
Business System 12, or simply BS12, was one of was the first fully relational database management systems, designed and implemented by IBM's UK Bureau Service subsidiary.
Details of the engine were picked up from the famous System R[?] underway in the US at the same time, but they decided to dispose with SQL and modify ISBL instead.
BS12 included a number of interesting features that still have yet to appear on SQL-based systems, some a side effect of using ISBL, others due to deliberate design.
Oracle is often incorrectly cited as beating IBM to market by two years, but in a great public relations coup, beat IBM s release of the System/38 by only a few weeks.
It is often suggested that IBM was slow to develop SQL and relational products, possibly because it wasn t available initially on the mainframe and Unix environments, and that they were afraid it would cut into lucrative sales of their IMS database product, which used navigational database models instead of relational.
But at the same time as Oracle was being developed, IBM was developing the System/38, which was intended to be the first relational database system, and was thought by some at the time, because of its advanced design and capabilities, that it might have become a possible replacement for the mainframe and Unix systems.