Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
BeforeExecute
-- Firebird.3 Firebird3

SELECT
"x"."StartDateTime",
"x"."StartDateTime2",
"x"."EndDateTime",
"x"."PreNotification",
"x"."PreNotification2",
"x"."PreNotification3",
"x"."StrField",
"x"."Status",
"x"."NotificationDateTime"
FROM
(
SELECT
"t"."Status",
DateAdd(Millisecond, -"t"."PreNotification" / 10000, "t"."StartDateTime") as "NotificationDateTime",
"t"."StartDateTime",
"t"."StartDateTime2",
"t"."EndDateTime",
"t"."PreNotification",
"t"."PreNotification2",
"t"."PreNotification3",
"t"."StrField"
FROM
"Common_Topology_Locations" "t"
) "x"
WHERE
("x"."Status" <> 'New' OR "x"."Status" IS NULL) AND
("x"."Status" <> 'Completed' OR "x"."Status" IS NULL) AND
"x"."NotificationDateTime" < CAST('2025-08-31 17:52:48.322' AS timestamp) AND
CAST("x"."StartDateTime" AS Date) < CAST(CAST('2025-08-31 17:52:48.322' AS timestamp) AS Date)

Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
BeforeExecute
-- Firebird.3 Firebird3

SELECT
"t"."StartDateTime",
"t"."StartDateTime2",
"t"."EndDateTime",
"t"."PreNotification",
"t"."PreNotification2",
"t"."PreNotification3",
"t"."StrField",
"t"."Status",
DateAdd(Millisecond, -"t"."PreNotification" / 10000, "t"."StartDateTime")
FROM
"Common_Topology_Locations" "t"
FETCH NEXT 1 ROWS ONLY

BeforeExecute
-- Firebird.3 Firebird3

SELECT
"t"."StartDateTime",
"t"."PreNotification",
DateAdd(Millisecond, -"t"."PreNotification" / 10000, "t"."StartDateTime")
FROM
"Common_Topology_Locations" "t"
FETCH NEXT 1 ROWS ONLY

BeforeExecute
-- Firebird.3 Firebird3

SELECT
"t"."StartDateTime",
"t"."StartDateTime2",
"t"."EndDateTime",
"t"."PreNotification",
"t"."PreNotification2",
"t"."PreNotification3",
"t"."StrField",
"t"."Status",
DateAdd(Millisecond, -"t"."PreNotification" / 10000, "t"."StartDateTime")
FROM
"Common_Topology_Locations" "t"
WHERE
Extract(hour from DateAdd(Millisecond, -"t"."PreNotification" / 10000, "t"."StartDateTime")) = 13
FETCH NEXT 1 ROWS ONLY

BeforeExecute
-- Firebird.3 Firebird3

SELECT
"t"."StartDateTime",
"t"."StartDateTime2",
"t"."EndDateTime",
"t"."PreNotification",
"t"."PreNotification2",
"t"."PreNotification3",
"t"."StrField",
"t"."Status",
DateAdd(Millisecond, -"t"."PreNotification" / 10000, "t"."StartDateTime")
FROM
"Common_Topology_Locations" "t"
WHERE
Extract(minute from DateAdd(Millisecond, -"t"."PreNotification" / 10000, "t"."StartDateTime")) = 51
FETCH NEXT 1 ROWS ONLY

BeforeExecute
-- Firebird.3 Firebird3

SELECT
"t"."StartDateTime",
"t"."StartDateTime2",
"t"."EndDateTime",
"t"."PreNotification",
"t"."PreNotification2",
"t"."PreNotification3",
"t"."StrField",
"t"."Status",
DateAdd(Millisecond, -"t"."PreNotification" / 10000, "t"."StartDateTime")
FROM
"Common_Topology_Locations" "t"
WHERE
CAST(Floor(Extract(second from DateAdd(Millisecond, -"t"."PreNotification" / 10000, "t"."StartDateTime"))) AS Int) >= 52 AND
CAST(Floor(Extract(second from DateAdd(Millisecond, -"t"."PreNotification" / 10000, "t"."StartDateTime"))) AS Int) <= 54
FETCH NEXT 1 ROWS ONLY

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
BeforeExecute
-- Firebird.3 Firebird3

SELECT
"x"."StartDateTime",
"x"."StartDateTime2",
"x"."EndDateTime",
"x"."PreNotification",
"x"."PreNotification2",
"x"."PreNotification3",
"x"."StrField",
"x"."Status"
FROM
"Common_Topology_Locations" "x"
WHERE
Extract(hour from "x"."StartDateTime") = 13
FETCH NEXT 1 ROWS ONLY

Loading