Ignore:
Timestamp:
11/11/05 17:57:31 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C

    r7393 r7395  
    220220
    221221        //calibration table
    222         query=Form("SELECT fSequenceFirst FROM Calibration "
     222        query=Form("SELECT Calibration.fSequenceFirst FROM Calibration "
    223223                   " LEFT JOIN Sequences ON Calibration.fSequenceFirst=Sequences.fSequenceFirst "
    224                    " WHERE fManuallyChangedKEY=1 AND fSequenceFirst BETWEEN %d and %d",
     224                   " WHERE fManuallyChangedKEY=1 AND Calibration.fSequenceFirst BETWEEN %d and %d",
    225225                   from, to);
    226226        res = serv.Query(query);
     
    237237
    238238        //Star table
    239         query=Form("SELECT fSequenceFirst FROM Star "
     239        query=Form("SELECT Star.fSequenceFirst FROM Star "
    240240                   " LEFT JOIN Sequences ON Star.fSequenceFirst=Sequences.fSequenceFirst "
    241                    " WHERE fManuallyChangedKEY=1 AND  fSequenceFirst BETWEEN %d and %d",
     241                   " WHERE fManuallyChangedKEY=1 AND  Star.fSequenceFirst BETWEEN %d and %d",
    242242                   from, to);
    243243        res = serv.Query(query);
     
    254254
    255255        //SequenceProcessStatus table
    256         query=Form("SELECT fSequenceFirst FROM SequenceProcessStatus "
     256        query=Form("SELECT SequenceProcessStatus.fSequenceFirst FROM SequenceProcessStatus "
    257257                   " LEFT JOIN Sequences ON SequenceProcessStatus.fSequenceFirst=Sequences.fSequenceFirst "
    258                    " WHERE fManuallyChangedKEY=1 AND  fSequenceFirst BETWEEN %d and %d",
     258                   " WHERE fManuallyChangedKEY=1 AND  SequenceProcessStatus.fSequenceFirst BETWEEN %d and %d",
    259259                   from, to);
    260260        res = serv.Query(query);
Note: See TracChangeset for help on using the changeset viewer.