------------------------------------------------------------ revno: 14197 committer: Lars Helge Ă˜verland <[email protected]> branch nick: dhis2 timestamp: Wed 2014-03-12 17:49:52 +0100 message: Sql modified: resources/sql/div.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/div.sql' --- resources/sql/div.sql 2014-02-04 14:12:45 +0000 +++ resources/sql/div.sql 2014-03-12 16:49:52 +0000 @@ -163,6 +163,16 @@ join _categoryoptioncomboname cn on (cc.categoryoptioncomboid=cn.categoryoptioncomboid); +-- Display data out of reasonable time range + +select * +from datavalue dv +where dv.periodid in ( + select pe.periodid + from period pe + where pe.startdate < '1950-01-01' + or pe.enddate > '2050-01-01'); + -- (Write) Populate dashboards for all users (7666 is userinfoid for target dashboard, replace with preferred id) insert into usersetting (userinfoid, name, value)
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

