From 89ffc630471605c4757b5854af3d73b5b75e98d6 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 14 Sep 2020 13:47:34 +0300 Subject: New thread loading wizard. --- .../Notes/Tango.Notes/DB/Fix Job Corrupted Runs Start Time.sql | 2 ++ Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 Software/Visual_Studio/Notes/Tango.Notes/DB/Fix Job Corrupted Runs Start Time.sql (limited to 'Software/Visual_Studio/Notes/Tango.Notes') diff --git a/Software/Visual_Studio/Notes/Tango.Notes/DB/Fix Job Corrupted Runs Start Time.sql b/Software/Visual_Studio/Notes/Tango.Notes/DB/Fix Job Corrupted Runs Start Time.sql new file mode 100644 index 000000000..9467a8cf1 --- /dev/null +++ b/Software/Visual_Studio/Notes/Tango.Notes/DB/Fix Job Corrupted Runs Start Time.sql @@ -0,0 +1,2 @@ +UPDATE JOB_RUNS SET START_DATE = ACTUAL_START_DATE WHERE START_DATE = '0001-01-01 00:00:00.000' AND ACTUAL_START_DATE IS NOT NULL +UPDATE JOB_RUNS SET START_DATE = END_DATE WHERE START_DATE = '0001-01-01 00:00:00.000' AND ACTUAL_START_DATE IS NULL \ No newline at end of file diff --git a/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj b/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj index 0da639179..5dfe4c005 100644 --- a/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj +++ b/Software/Visual_Studio/Notes/Tango.Notes/Tango.Notes.csproj @@ -49,6 +49,7 @@ + @@ -66,7 +67,7 @@ - + \ No newline at end of file -- cgit v1.3.1