← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5787: Script

 

------------------------------------------------------------
revno: 5787
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-01-23 05:32:46 +0100
message:
  Script
modified:
  resources/sql/integritychecks.sql


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'resources/sql/integritychecks.sql'
--- resources/sql/integritychecks.sql	2012-01-20 09:47:13 +0000
+++ resources/sql/integritychecks.sql	2012-01-23 04:32:46 +0000
@@ -121,4 +121,8 @@
 
 select * from categoryoptioncombo where categoryoptioncomboid not in (select distinct categoryoptioncomboid from datavalue);
 
+-- Search for anomalies in category option combo sort order (might cause nulls)
+
+select * from categoryoptioncombos_categoryoptions order by categoryoptioncomboid, sort_order;
+