<?xml version="1.0" encoding="UTF-8"?>

<!-- <!DOCTYPE sddlschema SYSTEM "sddlschema.xsd">-->

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:    DQ_COMMENTS.XML -->
<!-- -->
<!--  Purpose:      This SDDL file defines the DQ_COMMENTS relation.-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       OPR      Who                       Reason-->
<!--  - - - -    - - - -    - -   - - - - - - - - - - - - - - - - - - - - - -->
<!--  07/23/07   57479     LEG    Initial version - moved from opus_proc  -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->


    <record name="DQ_COMMENTS_TYPE">

        <description>This relation is a static table containing data
                   quality comments.</description>


            <field name="comment">
                    <type>I4</type>
                    <description>numeric code for failure
                    </description>
            </field>

            <field name="reasons">
                    <type>C50</type>
                    <description>Short description of failure
                    </description>

            </field>


    </record>


    <relation name="dq_comments">

        <type>DQ_COMMENTS_TYPE</type>

        <description>This relation is a static table containing data
                   quality comments.</description>

        <subsystem_using>OPUS</subsystem_using>

            <index name="dq_comments_1">
                    <type>unique clustered</type>
                    <field name="comment"/>
            </index>

    </relation>
</sddl>
