removed hardcoded reference
This commit is contained in:
parent
241dcf6df1
commit
f78afb5ef9
|
@ -65,7 +65,7 @@ FROM ${stats_db_name}.project_tmp p
|
||||||
UPDATE ${stats_db_name}.publication_tmp
|
UPDATE ${stats_db_name}.publication_tmp
|
||||||
SET delayed = 'yes'
|
SET delayed = 'yes'
|
||||||
WHERE publication_tmp.id IN (SELECT distinct r.id
|
WHERE publication_tmp.id IN (SELECT distinct r.id
|
||||||
FROM stats_wf_db_obs.result r,
|
FROM ${stats_db_name}.result r,
|
||||||
${stats_db_name}.project_results pr,
|
${stats_db_name}.project_results pr,
|
||||||
${stats_db_name}.project_tmp p
|
${stats_db_name}.project_tmp p
|
||||||
WHERE r.id = pr.result
|
WHERE r.id = pr.result
|
||||||
|
@ -75,7 +75,7 @@ WHERE publication_tmp.id IN (SELECT distinct r.id
|
||||||
UPDATE ${stats_db_name}.dataset_tmp
|
UPDATE ${stats_db_name}.dataset_tmp
|
||||||
SET delayed = 'yes'
|
SET delayed = 'yes'
|
||||||
WHERE dataset_tmp.id IN (SELECT distinct r.id
|
WHERE dataset_tmp.id IN (SELECT distinct r.id
|
||||||
FROM stats_wf_db_obs.result r,
|
FROM ${stats_db_name}.result r,
|
||||||
${stats_db_name}.project_results pr,
|
${stats_db_name}.project_results pr,
|
||||||
${stats_db_name}.project_tmp p
|
${stats_db_name}.project_tmp p
|
||||||
WHERE r.id = pr.result
|
WHERE r.id = pr.result
|
||||||
|
|
Loading…
Reference in New Issue