Changeset 7182 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 07/12/05 15:28:51 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/macros
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/findcacofiles.C
r7112 r7182 60 60 cout << endl; 61 61 62 TString query="SELECT fRunNumber FROM RunProcessStatus WHERE IsNull(fCaCoFileFound) "; 63 query+=" and fRunNumber > 10000 and not IsNull(fCCFileAvail)"; 62 TString query="SELECT RunProcessStatus.fRunNumber FROM RunProcessStatus "; 63 query+=" LEFT JOIN RunData on RunData.fRunNumber=RunProcessStatus.fRunNumber "; 64 query+=" WHERE IsNull(fCaCoFileFound) and fExcludedFDAKEY=1 "; 65 query+=" and RunProcessStatus.fRunNumber > 10000 and not IsNull(fCCFileAvail)"; 64 66 65 67 TSQLResult *res = serv.Query(query); -
trunk/MagicSoft/Mars/datacenter/macros/getdolist.C
r7112 r7182 110 110 } 111 111 112 query+=Form(" ORDER BY %s.%s DESC ", table.Data(), rc.GetValue(table+".Primary", "")); 113 112 114 cout << "query: " << query << endl; 113 115 -
trunk/MagicSoft/Mars/datacenter/macros/resetallruns.C
r7112 r7182 95 95 query+=Form(", fCaCoFileFound=%d", atoi(runnumber)); 96 96 97 query+=Form(" WHERE fRunNumber=%d ", atoi(runnumber));97 query+=Form(" WHERE fRunNumber=%d and %s!='1970-01-01 00:00:00'", atoi(runnumber), column.Data()); 98 98 99 99 cout << "q2: " << query << endl;
Note:
See TracChangeset
for help on using the changeset viewer.