refactor: refs #6494 Migrated and deleted residual procs #2118
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#2118
Loading…
Reference in New Issue
No description provided.
Delete Branch "6494-procRefactor3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +18,4 @@
DECLARE vMidnight DATETIME DEFAULT util.dayEnd(vDated);
DECLARE vEndingDate DATETIME DEFAULT vMidnight + INTERVAL vScopeDays DAY;
CREATE OR REPLACE TEMPORARY TABLE tConfectionControlSource
No es necesario hacer unta tabla para luego hacer solo una SELECT sobre ella.
Directamente hacer la consulta que se quiere devolver, en este caso son 2 consultas, retornarlas con UNION ALL