* Standard COBOL (file "CDR010.SCO") calling SQL * procedures in file "CDR010.MCO"
**************************************************************** * * COMMENT SECTION * * DATE 1989/04/07 STANDARD COBOL LANGUAGE * NIST SQL VALIDATION TEST SUITE V6.0 * DISCLAIMER: * This program was written by employees of NIST to test SQL * implementations for conformance to the SQL standards. * NIST assumes no responsibility for any party's use of * this program. * * CDR010.SCO * WRITTEN BY: SUN DAJUN * TRANSLATED AUTOMATICALLY FROM EMBEDDED COBOL BY CHRIS SCHANZLE * * THIS ROUTINE TESTS THE REFERENTIAL INTEGRITY CONSTRAINT FOR * SQL. * * REFERENCES * AMERICAN NATIONAL STANDARD database language - SQL * with Integrity Enhancement * * SECTION 6.7 <referential constraint definition> * <referential constraint definition>::= * FOREIGN KEY (<referencing columns>) * <references specification> * <references specification>::= * REFERENCES <referenced table and columns> * <referencing columns>::= * <reference column list> * <refereced table and columns>::= * <table name>((<reference column list> * <reference column list>::= * <column name>({,<column name>}...) * ****************************************************************
******************** BEGIN TEST0333 ********************* *This test deletes a row (E1,-,-,-,-) from PRIMARY KEY *TABLE -- STAFF_C, but there are such rows (*,*,*,*,E1) *in STAFF_C, this should be an ERROR.
******************** BEGIN TEST0334 ********************* *This test updates a row (E6,-,-,-,-) to (E9,-,-,-,-) *in TABLE -- STAFF_C, there is no such rows (*,*,*,*,E6) *in STAFF_C
**** TESTER MAY CHOOSE TO INSERT CODE FOR errcnt > 0 STOPRUN.
* **** Procedures for PERFORM statements
Messung V0.5 in Prozent
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.1Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-04-25)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.