How Can We Help?
SQL validation for viewsSQL validation for views
USER_DATA
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of dublicate user_names | This sql should return 0 rows. | |
|
Verification of dublicate emails_names | This sql should return 0 rows. |
PERSON_DATA
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of dublicate person_ids. | This SQL should return 0 rows. | |
|
Finds all persons that do not have any organisation relations available. | This SQL should return 0 rows. | |
|
Finds all person_ids that have organisation relations that have more than one primary association. | This SQL should return 0 rows. | |
|
Finds all persons that have relations to users that doesn't exist in the USER_DATA. | This SQL should return 0 rows. |
ORG_RELATION
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of duplicate ids across relation tables |
This SQL should return 0 rows. |
STAFF_ORG_RELATION
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of duplicate ids | This SQL should return 0 rows. | |
|
Verification of duplicate ids across relation tables |
This SQL should return 0 rows. |
STUDENT_ORG_RELATION
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of duplicate ids | This SQL should return 0 rows. | |
|
Verifies that organisation data matches organisation relations | This SQL should return 0 rows. |
VISITING_SCHOLAR_ORG_RELATION
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of duplicate ids | This SQL should return 0 rows. | |
|
Verifies that organisation data matches organisation relations | This SQL should return 0 rows. |
HONORARY_STAFF_ORG_RELATION
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of duplicate ids | This SQL should return 0 rows. | |
|
Verifies that organisation data matches organisation relations | This SQL should return 0 rows. |
ORG_RELATION_ADDRESSES
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of duplicate ids | This SQL should return 0 rows. | |
|
Verification of relations to STAFF_ORG_RELATION, STUDENT_ORG_RELATION, VISITING_SCHOLAR_ORG_RELATION and HONORARY_STAFF_ORG_RELATION. |
ORG_RELATION_PHONE_NUMBERS
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of dublicate ids | This SQL should return 0 rows. | |
|
Verification of relations to STAFF_ORG_RELATION, STUDENT_ORG_RELATION, VISITING_SCHOLAR_ORG_RELATION and HONORARY_STAFF_ORG_RELATION. | This SQL should return 0 rows. |
ORG_RELATION_EMAILS
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of duplicate ids | This SQL should return 0 rows. | |
|
Verification of relations to STAFF_ORG_RELATION, STUDENT_ORG_RELATION, VISITING_SCHOLAR_ORG_RELATION and HONORARY_STAFF_ORG_RELATION. |
ORG_RELATION_WEB_ADDRESSES
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of duplicate ids | This SQL should return 0 rows. | |
|
Verification of relations to STAFF_ORG_RELATION, STUDENT_ORG_RELATION, VISITING_SCHOLAR_ORG_RELATION and HONORARY_STAFF_ORG_RELATION. |
ORG_RELATION_KEYWORDS
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of relations to STAFF_ORG_RELATION, STUDENT_ORG_RELATION, VISITING_SCHOLAR_ORG_RELATION and HONORARY_STAFF_ORG_RELATION. | This SQL should return 0 rows. |
PERSON_IDS
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_IDS that are not related to a person in PERSON_DATA | This SQL should return 0 rows. | |
|
Verify that the IDs are unique | This SQL should return 0 rows. |
PERSON_NAMES
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_NAMES that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. | |
|
Verify that the IDs are unique | This SQL should return 0 rows. |
PERSON_TITLES
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_NAMES that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. | |
|
Verify that the IDs are unique | This SQL should return 0 rows. |
PERSON_PROFILE_INFORMATION
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_PROFILE_INFORMATION that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. | |
|
Verify that the IDs are unique | This SQL should return 0 rows. |
PERSON_LEAVE_OF_ABSENCE
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_LEAVE_OF_ABSENCE that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. | |
|
Verify that the IDs are unique |
PERSON_DOCUMENTS
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_DOCUMENTS that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. | |
|
Verify that the IDs are unique |
PERSON_PHOTOS
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_PHOTOS that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. | |
|
Verify that the IDs are unique | This SQL should return 0 rows. |
PERSON_EDUCATIONS
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_EDUCATIONS that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. | |
|
Verify that the IDs are unique | This SQL should return 0 rows. |
PERSON_EXTERNAL_POSITIONS
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_EXTERNAL_POSITIONS that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. | |
|
Verify that the IDs are unique | This SQL should return 0 rows. |
PERSON_PROF_QUALIFICATIONS
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_PROF_QUALIFICATIONS that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. | |
|
Verify that the IDs are unique | This SQL should return 0 |
PERSON_LINKS
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_LINKS that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. | |
|
Verify that the IDs are unique | This SQL should return 0 |
PERSON_KEYWORDS
SQL | Description | Expected result | |
---|---|---|---|
|
Finds all entries in PERSON_KEYWORDS that are not related to a person in PERSON_DATA. | This SQL should return 0 rows. |
SUPERVISOR_DATA
SQL | Description | Expected result | |
---|---|---|---|
|
Verification of duplicate ids | This SQL should return 0 rows. | |
|
Verification of apprentice relations in supervisor_data view. Must return 0 rows | This SQL should return 0 rows. |
Updated at July 27, 2024