Changeset 7395 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 11/11/05 17:57:31 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/buildsequenceentries.C
r7393 r7395 220 220 221 221 //calibration table 222 query=Form("SELECT fSequenceFirst FROM Calibration "222 query=Form("SELECT Calibration.fSequenceFirst FROM Calibration " 223 223 " 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", 225 225 from, to); 226 226 res = serv.Query(query); … … 237 237 238 238 //Star table 239 query=Form("SELECT fSequenceFirst FROM Star "239 query=Form("SELECT Star.fSequenceFirst FROM Star " 240 240 " 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", 242 242 from, to); 243 243 res = serv.Query(query); … … 254 254 255 255 //SequenceProcessStatus table 256 query=Form("SELECT fSequenceFirst FROM SequenceProcessStatus "256 query=Form("SELECT SequenceProcessStatus.fSequenceFirst FROM SequenceProcessStatus " 257 257 " 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", 259 259 from, to); 260 260 res = serv.Query(query);
Note:
See TracChangeset
for help on using the changeset viewer.