mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-05 21:38:25 -04:00
Update cycle_notification_history_in_batches.sql
This commit is contained in:
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
CREATE TABLE notification_history_pivot AS SELECT * from notification_history WHERE 1=2;
|
CREATE TABLE notification_history_pivot AS SELECT * from notification_history WHERE 1=2;
|
||||||
|
|
||||||
SELECT id
|
CREATE TEMPORARY TABLE nh_temp AS SELECT id FROM notification_history;
|
||||||
INTO nh_temp
|
|
||||||
FROM notification_history;
|
|
||||||
|
|
||||||
SELECT COUNT(*) AS 'Total number of rows in nh' FROM nh_temp;
|
SELECT COUNT(*) AS 'Total number of rows in nh' FROM nh_temp;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user