Skip to content
Snippets Groups Projects
Commit a4bbb016 authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

Updated getSecs function as in the stager db

parent 7223cffc
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ END;
/* Returns a time interval in seconds */
CREATE OR REPLACE FUNCTION getSecs(startTime IN TIMESTAMP, endTime IN TIMESTAMP) RETURN NUMBER IS
BEGIN
RETURN EXTRACT(SECOND FROM (endTime - startTime));
RETURN TRUNC(EXTRACT(SECOND FROM (endTime - startTime)), 6);
END;
/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment