IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 5, 2007, 3:16:08 PM (19 years ago)
Author:
jhoblitt
Message:

rename exp_id -> exp_name
rename exp_tag -> exp_id
add add rawExp.exp_tag for use as an external name only

File:
1 edited

Legend:

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

    r14018 r14023  
    44    FROM newExp
    55    JOIN newImfile
    6        USING(exp_tag)
     6       USING(exp_id)
    77    LEFT JOIN rawExp
    8        USING(exp_tag)
     8       USING(exp_id)
    99    WHERE
    1010        newExp.state = 'run'
    11         AND rawExp.exp_tag IS NULL
     11        AND rawExp.exp_id IS NULL
    1212        AND newExp.imfiles =
    13         (SELECT COUNT(exp_tag) FROM rawImfile
    14             WHERE rawImfile.exp_tag = newExp.exp_tag)) as Foo
     13        (SELECT COUNT(exp_id) FROM rawImfile
     14            WHERE rawImfile.exp_id = newExp.exp_id)) as Foo
    1515WHERE
    16     exp_tag = '%s'
     16    exp_id = '%s'
Note: See TracChangeset for help on using the changeset viewer.