Informační tok Funkční structura Datová struktura ER model Modulová struktura Typová struktura Relační model Dokumentace


[Celkový datový model] [Funkce] [Externí rohraní] [Stavové diagramy] [Datové elementy] [Entity] [Relace]
[Databáze] [Události] [Materiály] [Generovací funkce] [Vyhodnocovací funkce] [Konfigurace] [Uživatelé] [Projekt] [Home]



Vyhodnocovací funkce
Relation_attributes_primary_key_without_NOT_NUL
(Review-Manager Data model checks)


Vytvořeno: 12-13-1999 12:25:28
Poslední změna: 12-10-2002 11:06:44

Outputs all attributes in the relational model, that are part of a primary key, but are nullifyable.

Modul

Module: Review-Manager Data model checks

Zdrojový kód:

PROCEDURE Relation_attributes_primary_key_without_NOT_NUL()
BEGIN


    PRINT "Atribut relace", NL;
    
    FOREACH Relation ORDER BY Name DO

        //all primary key attributes, that are NOT NULL.
        FOREACH Relattribute WHERE Relattribute.Relation = Relation.Name AND
                                   Relattribute.Pkey <> 0 AND
                                   NOT Relattribute.Notnull DO
                                   
            CALL Util_PrintRelattribute(Relattribute.Tid, "", "", TRUE);
        END // FOREACH Relattribute

    END // FOREACH Relation
    
END


Generováno: 16.10.2003 7:41 Systém: C:\Documents and Settings\hajsman\Dokumenty\Vyuka\Irs2\Projekt case40\Projekt03.csf Generováno systémem case/4/0
Vygeneroval: Administrator Soubor: C:\Documents and Settings\hajsman\Dokumenty\Vyuka\Irs2\Projekt case40\html\35767600.htm (C) microTOOL GmbH 2002