Changeset 24664 for trunk/ippTools/share
- Timestamp:
- Jul 3, 2009, 11:48:59 AM (17 years ago)
- Location:
- trunk/ippTools/share
- Files:
-
- 3 edited
-
stacktool_definebyquery_insert.sql (modified) (2 diffs)
-
stacktool_definebyquery_insert_random_part1.sql (modified) (2 diffs)
-
stacktool_definebyquery_insert_random_part2.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/share/stacktool_definebyquery_insert.sql
r23688 r24664 12 12 JOIN camRun 13 13 USING(cam_id) 14 JOIN camProcessedExp 15 USING(cam_id) 14 16 JOIN chipRun 15 17 USING(chip_id) … … 17 19 USING(exp_id) 18 20 WHERE 19 warpSkyfile.skycell_id = ' %s'21 warpSkyfile.skycell_id = '@SKYCELL_ID@' 20 22 AND warpRun.state = 'full' 21 AND rawExp.filter = ' %s'23 AND rawExp.filter = '@FILTER@' 22 24 AND warpSkyfile.fault = 0 23 25 AND warpSkyfile.quality = 0 -
trunk/ippTools/share/stacktool_definebyquery_insert_random_part1.sql
r23688 r24664 19 19 JOIN camRun 20 20 USING(cam_id) 21 JOIN camProcessedExp 22 USING(cam_id) 21 23 JOIN chipRun 22 24 USING(chip_id) … … 24 26 USING(exp_id) 25 27 WHERE 26 skycell_id = ' %s'28 skycell_id = '@SKYCELL_ID@' 27 29 AND warpRun.state = 'full' 28 AND rawExp.filter = ' %s' -- the result of the query is grouped by filter and inserted for one at a time30 AND rawExp.filter = '@FILTER@' -- the result of the query is grouped by filter and inserted for one at a time 29 31 AND warpSkyfile.fault = 0 30 32 AND warpSkyfile.quality = 0 -
trunk/ippTools/share/stacktool_definebyquery_insert_random_part2.sql
r19249 r24664 5 5 -- to get a random set of N. 6 6 ORDER BY rnd_num 7 LIMIT %d7 LIMIT @RANDOM_LIMIT@ 8 8 ) AS randomWarps
Note:
See TracChangeset
for help on using the changeset viewer.
