FIPS 193 - SQL Environments
Return to the FIPS
Home Page


FIPS PUB 193
Federal Information
Processing Standards Publication 193

1995 February 3

Announcing the Standard for

SQL ENVIRONMENTS

(The Foreword, Abstract, and Key Words
can be found at the end of this document.)
Federal Information Processing Standards Publications (FIPS PUBS) are issued by the National Institute of Standards and Technology after approval by the Secretary of Commerce pursuant to Section 111(d) of the Federal Property and Administrative Services Act of 1949, as amended by the Computer Security Act of 1987, Public Law 100-235.

1. Name of Standard. SQL Environments (FIPS PUB 193).

2. Category of Standard. Software Standard, Database.

3. Explanation. An SQL environment is an integrated data processing environment in which heterogeneous products, all supporting some aspect of the FIPS SQL standard (FIPS PUB 127), are able to communicate with one another and provide shared access to data and data operations and methods under appropriate security, integrity, and access control mechanisms. Some components in an SQL environment will be full-function SQL implementations that conform to an entire level of FIPS SQL and support all of its required clauses for schema definition, data manipulation, transaction management, integrity constraints, access control, and schema information. Other components in an SQL environment may be specialized data repositories, legacy databases, or graphical user interfaces and report writers, all of which support selected portions of the SQL standard and thereby provide a degree of integration between themselves and other products in the same SQL environment.

This FIPS PUB is the beginning of a continuing effort to define appropriate conformance profiles that can be used by both vendors and users to specify exact requirements for how various products fit into an SQL environment. The emphasis in this first FIPS for SQL Environments is to specify general purpose, SQL external repository interface (SQL/ERI) profiles for non-SQL data repositories. These profiles specify how a subset of the SQL standard can be used to provide limited SQL access to legacy databases, or to support SQL gateways to specialized data managers such as Geographic Information Systems (GIS), full-text document management systems, or object database management systems. All of the profiles specified herein are for server-side products, that is, products that control persistent data and provide an interface for user access to that data. Subsequent versions of this FIPS PUB may specify SQL environment profiles for client-side products, that is, products that access data and then present that data in graphical or report-writer style to an end user, or process the data in some other way on behalf of the end user.

4. Approving Authority. Secretary of Commerce.

5. Maintenance Agency.

Department of Commerce National Institute of Standards and Technology (Computer Systems Laboratory)

6.Cross Index.
7. Related Documents. SQL Environment specifications depend upon existing standards and stable specifications (see Cross Index above) and upon emerging SQL and SQL Multimedia standards. The following items identify formal ISO/IEC international standards projects for which preliminary specifications and base documents exist, but where the development effort has not yet reached a complete and stable stage (i.e. the Committe Draft (CD) stage). As these specifications mature and move through the standards processs, they can be referenced more reliably in procurement requirements.
(Working Draft) Database Language SQL (SQL3)
Part 1: Framework
Part 2: Foundation -- including Abstract Data Types and Object SQL
Part 3: Call Level Interface -- extensions to ISO/IEC CD 9075-3 identified above.
Part 4: Persistent Stored Modules -- extensions to ISO/IEC CD 9075-4 identified above.
Part 5: Language Bindings -- extensions to the binding clauses of ISO/IEC 9075:1992.
Part 6: SQL XA Interface Specialization -- to support X/Open XA-interface.

(Working Draft) SQL Multimedia (SQL/MM)
Part 1: Framework
Part 2: Full Text
Part 3: Spatial
Part 4: General Purpose Facilities
Other Parts: Reserved for other SQL/MM sub-projects with no current base document (e.g., images, photographs, motion pictures, sound, music, video, etc.).

For information on the current status of the above Working Drafts, contact NIST personnel working on SQL Standardization at 301-975-3251. For document references to the above and for additional related documents, see the References section of the SQL/ERI Server Profiles specification (attached).

8. Objective. The primary objective of this FIPS PUB for SQL Environments is to specify SQL profiles that can be used by Federal departments and agencies to support integration of legacy databases and other non-SQL data repositories into an SQL environment. The intent is to provide a high level of control over a diverse collection of legacy or specialized data resources. An SQL environment allows an organization to obtain many of the advantages of SQL without requiring a large, complex, and error-prone conversion effort; instead, the organization can evolve, in a controlled manner, to a new integrated environment.

9. Applicability

This standard is applicable in any situation where it is desirable to integrate a client-side productivity tool or a server-side data repository into an SQL environment. It is a non-mandatory standard that may be invoked on a case-by-case basis subject to the integration objectives of the procuring department or agency. It is particularly suitable for specifying limited SQL interfaces to legacy databases or to specialized data repositories not under the control of a full-function SQL database management system. It can be used along with other procurement information to specify SQL interface requirements for a wide range of data management procurements.

One special area of application envisioned for this standard is Electronic Commerce, a National Challenge Application area of the National Information Infrastructure. The primary objective of Electronic Commerce is to integrate communications, data management, and security services in a distributed processing environment, thereby allowing business applications within different organizations to interoperate and exchange information without human intervention. At the data management level, electronic commerce requires a logically integrated database of diverse data stored in geographically separated data banks under the management and control of heterogeneous database management systems. An over-riding requirement is that these diverse data managers be able to communicate with one another and provide shared access to data and data operations and methods under appropriate security, integrity, and access control mechanisms. FIPS SQL provides a powerful database language for data definition, data manipulation, and integrity management to satisfy many of these requirements. It is unrealistic to expect that every data manager involved in electronic commerce will conform to even the Entry SQL level of the FIPS SQL standard; however, it is not unrealistic to require that they support a limited SQL interface, even a read-only interface, provided by one of the SQL/ERI Server profiles specified herein. New procurements to add components to the National Information Infrastructure, or to upgrade existing components, can define the necessary SQL schemas and point to appropriate SQL/ERI Server profiles as procurement requirements.

This standard may also be applicable, on a case-by-case basis, in many of the following areas:

Legacy databases
Full-Text document databases
Geographic Information Systems
Bibliographic information retrieval
Object database interfaces
Federal data distribution
Operating system file interface
Open system directory interface
Electronic mail repositories
CASE tool repositories
XBase repositories
C++ sequence class repositories
Object Request Broker interface repository
Real-time database interface
Internet file repositories

Further detail on each of these potential application areas can be found in Section 8, "Applicability", of the FIPS specification for SQL Environments.

10. Specifications. See the Specifications for SQL Environments - SQL External Repository Interface (SQL/ERI) - Server Profiles (attached).

11. Implementation. Implementation of this standard involves four areas of consideration: the effective date, acquisition of conforming implementations, interpretation, and validation.

11.1 Effective date. This publication is effective beginning February 1, 1995. Since it is a non-mandatory specification, based on the established FIPS SQL standard, and used at the discretion of individual Federal procurements, no transitional period or delayed effective date is necessary.

11.2 Acquisition. All conforming implementations of a specific SQL/ERI profile will support some aspects of the FIPS SQL standard. However, such implementations will not normally be full function database management systems and conformance will often be dependent upon SQL schema definitions and other requirements provided as part of each individual procurement. In most cases, a procurement will not be able to simply point to an SQL/ERI profile and demand conformance to it. Instead, successful procurements will normally use an appropriate SQL/ERI profile, together with an application-specific schema definition, as one aspect of overall procurement requirements. In many cases, vendors of products that provide a limited SQL interface will define their interfaces in terms of a fixed SQL schema definition. In those cases, procurements can point to the vendor-provided schema definition and to an appropriate SQL/ERI profile as a procurement requirement. In some cases, especially in those situations where schema definitions and requirements are not known in advance, a request for a proposal (RFP) may require that an SQL schema, and adherence to one of the SQL/ERI Server profiles, be presented as part of the response proposal.

11.3 Interpretation. NIST provides for the resolution of questions regarding specifications and requirements of the FIPS for SQL Environments, and issues official interpretations as needed. Procedures for interpretations are specified in FIPS PUB 29-3. All questions about the interpretation of FIPS SQL Environments should be addressed to:

Director
Computer Systems Laboratory
ATTN: SQL Environments
National Institute of Standards and Technology
Gaithersburg, MD 20899
Telephone: (301) 975-2833

11.4 Validation. Implementations of the FIPS for SQL Environments may be validated in accordance with NIST Computer Systems Laboratory (CSL) validation procedures for FIPS SQL (FIPS PUB 127). Recommended procurement terminology for validation of FIPS SQL is contained in the U.S. General Services Administration publication Federal ADP & Telecommunications Standards Index, Chapter 4 Part 2. This GSA publication provides terminology for three validation options: Delayed Validation, Prior Validation Testing, and Prior Validation. The agency may select the appropriate validation option and may specify appropriate time frames for validation and correction of nonconformities.

Implementations may be evaluated using the NIST SQL Test Suite, a suite of automated validation tests for SQL implementations. Although this test suite was designed to test conformance of full-function SQL database management systems, it can be modified to accommodate testing of SQL/ERI Server implementations. The results of validation testing by the SQL Testing Service are published on a quarterly basis in the Validated Products List, available from the National Technical Information Service (NTIS).

Current information about the NIST SQL Validation Service and the status of validation testing for SQL Environments is available from:

National Institute of Standards and Technology
Computer Systems Laboratory
Software Standards Validation Group
Building 225, Room A266
Gaithersburg, Maryland 20899
(301) 975-2490

12. Where to Obtain Copies. Copies of this publication are for sale by the National Technical Information Service, U.S. Department of Commerce, Springfield, VA 22161, telephone 703-487-4650. When ordering, refer to Federal Information Processing Standards Publication 193 (FIPSPUB193), SQL Environments. Payment may be made by check, money order, or deposit account.

FIPS PUB 193

Federal Information
Processing Standards Publication 193

1995 February 3
Specifications for

SQL ENVIRONMENTS

Table of Contents

Abstract

1. Introduction

1.1 Database Language SQL
1.2 SQL environment

2. Data Integration Architecture

3. SQL External Repository Interface (SQL/ERI)

4. SQL/ERI Leveling Rules

4.1 Minimal Schema Definition Language
4.2 Minimal Data Manipulation Language

5. Optional Extensions
5.1 SQL'92 features
5.2 Stored procedures and callable routines (SQL/PSM)
5.3 SQL multimedia class library (SQL/MM)
5.4 Abstract data types and methods
5.5 Object data management
5.6 Encompassing transactions

6. SQL Binding Alternatives
6.1 SQL Module processor
6.2 Embedded SQL preprocessor
6.3 Direct invocation of SQL statements
6.4 SQL call level interface (SQL/CLI)
6.5 RDA/SQL-Server interface

7. SQL/ERI Server Profiles
7.1 SQL/ERI Read-Only Server
7.2 SQL/ERI Read-Write Server
7.3 Object Identifiers for SQL/ERI Server profiles
7.4 Specific SQL/ERI CLI Server profiles
7.5 Specific SQL/ERI RDA Server profiles

8. Applicability
8.1 Legacy databases
8.2 Full-Text document databases
8.3 Geographic Information Systems
8.4 Bibliographic information retrieval
8.5 Object database interfaces
8.6 Federal data distribution
8.7 Operating system file interface
8.8 Open system directory interface
8.9 Electronic mail repositories
8.10 CASE tool repositories
8.11 XBase repositories
8.12 C++ sequence class repositories
8.13 Object Request Broker repositories
8.14 Real-Time database interface
8.15 Internet file repositories

9. Conformance Testing
9.1 NIST SQL Test Suite
9.2 Testing SQL/ERI implementations

10. Procurement Considerations
10.1 Client-side products
10.2 SQL/ERI Clients
10.3 SQL/ERI Servers

References


The Foreword, Abstract, and Key Words follow:

FIPS PUB 193
FEDERAL INFORMATION
PROCESSING STANDARDS PUBLICATION

1988 JANUARY 27
U.S. DEPARTMENT OF COMMERCE/National Institute of Standards and Technology

SQL ENVIRONMENTS

U.S. DEPARTMENT OF COMMERCE, Ronald H. Brown, Secretary
National Institute of Standards and Technology, Arati Prabhakar, Director

Foreword
The Federal Information Processing Standards Publication Series of the National Institute of Standards and Technology (NIST) is the official publication relating to standards and guidelines adopted and promulgated under the provisions of Section 111(d) of the Federal Property and Administrative Services Act of 1949 as amended by the Computer Security Act of 1987, Public Law 100-235. These mandates have given the Secretary of Commerce and NIST important responsibilities for improving the utilization and management of computers and related telecommunications systems in the Federal Government. The NIST, through its Computer Systems Laboratory, provides leadership, technical guidance, and coordination of Government efforts in the development of standards and guidelines in these areas.

Comments concerning Federal Information Processing Standards Publications are welcomed and should be addressed to the Director, Computer Systems Laboratory, National Institute of Standards and Technology, Gaithersburg, MD 20899.

James H. Burrows, Director
Computer Systems Laboratory

Abstract

An SQL environment is an integrated data processing environment in which heterogeneous products, all supporting some aspect of the FIPS SQL standard (FIPS PUB 127), are able to communicate with one another and provide shared access to data and data operations and methods under appropriate security, integrity, and access control mechanisms. Some components in an SQL environment will be full-function SQL implementations that conform to an entire level of FIPS SQL and support all of its required clauses for schema definition, data manipulation, transaction management, integrity constraints, access control, and schema information. Other components in an SQL environment may be specialized data repositories, legacy databases, or graphical user interfaces and report writers, all of which support selected portions of the SQL standard and thereby provide a degree of integration between themselves and other products in the same SQL environment. This FIPS PUB is the beginning of a continuing effort to define appropriate conformance profiles that can be used by both vendors and users to specify exact requirements for how various products fit into an SQL environment. The emphasis in this first publication is to specify general purpose, SQL external repository interface (SQL/ERI) server profiles for non-SQL data respositories. Two major SQL/ERI Server Profiles are specified: read-only and read-write. To make it easier to specify integration among heterogeneous, non-SQL data models, this specification defines a new minimal level of the SQL language that can be supported by various non-SQL implementations. Non-SQL data repositories, such as Geographic Information Systems (GIS), full-text document management systems, or object database management systems, may use this minimal level, or one of the other levels specified in FIPS SQL, to describe their capabilities as SQL/ERI Servers. Two major SQL/ERI Server profiles are specified: read-only and read-write. This specification may also be used as a starting point for defining International Standardized Profiles (ISPs) for SQL language access to non-SQL data repositories.

Key words: CLI; client; conformance; database; ERI; Federal Information Processing Standard (FIPS); interface; Internet; ISP; multimedia; object; profile; PSM; RDA; relational; repository; server; standard; SQL; testing.




Go Back to the Top.
Return to the FIPS
Home Page