IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 3, 2009, 11:48:59 AM (17 years ago)
Author:
eugene
Message:

fix definebyquery insert sql so it can handle SQL wildcards; add -pretend mode to definebyquery

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/stacktool_definebyquery_insert_random_part1.sql

    r23688 r24664  
    1919    JOIN camRun
    2020        USING(cam_id)
     21    JOIN camProcessedExp
     22        USING(cam_id)
    2123    JOIN chipRun
    2224        USING(chip_id)
     
    2426        USING(exp_id)
    2527    WHERE
    26         skycell_id = '%s'
     28        skycell_id = '@SKYCELL_ID@'
    2729        AND warpRun.state = 'full'
    28         AND rawExp.filter = '%s' -- the result of the query is grouped by filter and inserted for one at a time
     30        AND rawExp.filter = '@FILTER@' -- the result of the query is grouped by filter and inserted for one at a time
    2931        AND warpSkyfile.fault = 0
    3032        AND warpSkyfile.quality = 0
Note: See TracChangeset for help on using the changeset viewer.