aboutsummaryrefslogtreecommitdiffstats
path: root/Software/DB/Scripts
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2020-03-05 18:31:05 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2020-03-05 18:31:05 +0200
commit2009e374e82aa54c122d10f3c00a7defddab3a4c (patch)
tree814eef44e20aed425b778795957c217ac9581944 /Software/DB/Scripts
parent937b2a545fc7405f4673377b209caf22f00375b7 (diff)
downloadTango-2009e374e82aa54c122d10f3c00a7defddab3a4c.tar.gz
Tango-2009e374e82aa54c122d10f3c00a7defddab3a4c.zip
Fixed issue with job mixing.
Fixed issue with LogViewer scroll and session logs.
Diffstat (limited to 'Software/DB/Scripts')
-rw-r--r--Software/DB/Scripts/Select With Local Datetime.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/DB/Scripts/Select With Local Datetime.sql b/Software/DB/Scripts/Select With Local Datetime.sql
new file mode 100644
index 000000000..f0c22ea91
--- /dev/null
+++ b/Software/DB/Scripts/Select With Local Datetime.sql
@@ -0,0 +1,2 @@
+SELECT CONVERT(datetime, SWITCHOFFSET(START_DATE, DATEPART(TZOFFSET,
+START_DATE AT TIME ZONE 'Israel Standard Time'))) as LOCAL_TIME, * FROM JOB_RUNS ORDER BY START_DATE DESC \ No newline at end of file