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_pendingexp.sql

    r14018 r14023  
    33FROM newExp
    44JOIN newImfile
    5     USING(exp_tag)
     5    USING(exp_id)
    66LEFT JOIN rawExp
    7     USING(exp_tag)
     7    USING(exp_id)
    88WHERE
    99    newExp.state = 'run'
    10     AND rawExp.exp_tag IS NULL
     10    AND rawExp.exp_id IS NULL
    1111    AND newExp.imfiles =
    12     (SELECT COUNT(exp_tag) FROM rawImfile
     12    (SELECT COUNT(exp_id) FROM rawImfile
    1313        WHERE
    14             rawImfile.exp_tag = newExp.exp_tag
     14            rawImfile.exp_id = newExp.exp_id
    1515            AND rawImfile.fault = 0)
Note: See TracChangeset for help on using the changeset viewer.