diff --git a/pmd-tsql/pom.xml b/pmd-tsql/pom.xml
index c781a0b287..78040dad45 100644
--- a/pmd-tsql/pom.xml
+++ b/pmd-tsql/pom.xml
@@ -39,8 +39,8 @@
- junit
- junit
+ org.junit.jupiter
+ junit-jupiter
test
diff --git a/pmd-tsql/src/test/java/net/sourceforge/pmd/lang/tsql/cpd/TSqlTokenizerTest.java b/pmd-tsql/src/test/java/net/sourceforge/pmd/lang/tsql/cpd/TSqlTokenizerTest.java
index 899147f996..6723ebc2fc 100644
--- a/pmd-tsql/src/test/java/net/sourceforge/pmd/lang/tsql/cpd/TSqlTokenizerTest.java
+++ b/pmd-tsql/src/test/java/net/sourceforge/pmd/lang/tsql/cpd/TSqlTokenizerTest.java
@@ -6,14 +6,14 @@ package net.sourceforge.pmd.lang.tsql.cpd;
import java.util.Properties;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
import net.sourceforge.pmd.cpd.Tokenizer;
import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
-public class TSqlTokenizerTest extends CpdTextComparisonTest {
+class TSqlTokenizerTest extends CpdTextComparisonTest {
- public TSqlTokenizerTest() {
+ TSqlTokenizerTest() {
super(".sql");
}
@@ -28,12 +28,12 @@ public class TSqlTokenizerTest extends CpdTextComparisonTest {
}
@Test
- public void simpleTest() {
+ void simpleTest() {
doTest("simple");
}
@Test
- public void mailJobTimeLineTest() {
+ void mailJobTimeLineTest() {
doTest("MailJobTimeLine");
}
}
diff --git a/pmd-tsql/src/test/resources/net/sourceforge/pmd/lang/tsql/cpd/testdata/MailJobTimeLine.txt b/pmd-tsql/src/test/resources/net/sourceforge/pmd/lang/tsql/cpd/testdata/MailJobTimeLine.txt
index bff8090b62..728d9ba318 100644
--- a/pmd-tsql/src/test/resources/net/sourceforge/pmd/lang/tsql/cpd/testdata/MailJobTimeLine.txt
+++ b/pmd-tsql/src/test/resources/net/sourceforge/pmd/lang/tsql/cpd/testdata/MailJobTimeLine.txt
@@ -1,2344 +1,2344 @@
[Image] or [Truncated image[ Bcol Ecol
L14
- [SET] 1 3
- [NOCOUNT] 5 11
- [ON] 13 14
+ [SET] 1 4
+ [NOCOUNT] 5 12
+ [ON] 13 15
L17
- [DECLARE] 1 7
- [@StartDate] 9 18
- [DATETIME] 20 27
+ [DECLARE] 1 8
+ [@StartDate] 9 19
+ [DATETIME] 20 28
L18
- [DECLARE] 1 7
- [@EndDate] 9 16
- [DATETIME] 18 25
+ [DECLARE] 1 8
+ [@EndDate] 9 17
+ [DATETIME] 18 26
L19
- [DECLARE] 1 7
- [@MinimalJobDurationInSeconds] 9 36
- [INT] 39 41
+ [DECLARE] 1 8
+ [@MinimalJobDurationInSeconds] 9 37
+ [INT] 39 42
L20
- [DECLARE] 1 7
- [@EmailTo] 9 16
- [VARCHAR] 18 24
- [(] 25 25
- [500] 26 28
- [)] 29 29
+ [DECLARE] 1 8
+ [@EmailTo] 9 17
+ [VARCHAR] 18 25
+ [(] 25 26
+ [500] 26 29
+ [)] 29 30
L21
- [DECLARE] 1 7
- [@DaysPast] 9 17
- [INT] 19 21
+ [DECLARE] 1 8
+ [@DaysPast] 9 18
+ [INT] 19 22
L22
- [DECLARE] 1 7
- [@HoursPast] 9 18
- [INT] 20 22
+ [DECLARE] 1 8
+ [@HoursPast] 9 19
+ [INT] 20 23
L23
- [DECLARE] 1 7
- [@Servername] 9 19
- [VARCHAR] 21 27
- [(] 28 28
- [50] 29 30
- [)] 31 31
+ [DECLARE] 1 8
+ [@Servername] 9 20
+ [VARCHAR] 21 28
+ [(] 28 29
+ [50] 29 31
+ [)] 31 32
L32
- [SET] 1 3
- [@EmailTo] 5 12
- [=] 14 14
- ['John.Doe@xyz.com;Jennifer.Doe@xyz[ 16 54
+ [SET] 1 4
+ [@EmailTo] 5 13
+ [=] 14 15
+ ['John.Doe@xyz.com;Jennifer.Doe@xyz[ 16 55
L35
- [SET] 1 3
- [@DaysPast] 5 13
- [=] 15 15
- [1] 17 17
+ [SET] 1 4
+ [@DaysPast] 5 14
+ [=] 15 16
+ [1] 17 18
L38
- [SET] 1 3
- [@HoursPast] 5 14
- [=] 16 16
- [0] 18 18
+ [SET] 1 4
+ [@HoursPast] 5 15
+ [=] 16 17
+ [0] 18 19
L41
- [SET] 1 3
- [@MinimalJobDurationInSeconds] 5 32
- [=] 35 35
- [0] 37 37
+ [SET] 1 4
+ [@MinimalJobDurationInSeconds] 5 33
+ [=] 35 36
+ [0] 37 38
L55
- [SET] 1 3
- [@StartDate] 5 14
- [=] 16 16
- [DateAdd] 18 24
- [(] 25 25
- [hh] 26 27
- [,] 28 28
- [-] 30 30
- [(] 31 31
- [@HoursPast] 32 41
- [)] 42 42
- [,] 43 43
- [GETDATE] 45 51
- [(] 52 52
- [)] 53 53
- [-] 55 55
- [@DaysPast] 57 65
- [)] 66 66
+ [SET] 1 4
+ [@StartDate] 5 15
+ [=] 16 17
+ [DateAdd] 18 25
+ [(] 25 26
+ [hh] 26 28
+ [,] 28 29
+ [-] 30 31
+ [(] 31 32
+ [@HoursPast] 32 42
+ [)] 42 43
+ [,] 43 44
+ [GETDATE] 45 52
+ [(] 52 53
+ [)] 53 54
+ [-] 55 56
+ [@DaysPast] 57 66
+ [)] 66 67
L56
- [SET] 1 3
- [@EndDate] 5 12
- [=] 14 14
- [GETDATE] 16 22
- [(] 23 23
- [)] 24 24
+ [SET] 1 4
+ [@EndDate] 5 13
+ [=] 14 15
+ [GETDATE] 16 23
+ [(] 23 24
+ [)] 24 25
L64
- [DECLARE] 1 7
- [@TEXT_SUCCESS] 9 21
- [VARCHAR] 23 29
- [(] 30 30
- [20] 31 32
- [)] 33 33
+ [DECLARE] 1 8
+ [@TEXT_SUCCESS] 9 22
+ [VARCHAR] 23 30
+ [(] 30 31
+ [20] 31 33
+ [)] 33 34
L65
- [SET] 1 3
- [@TEXT_SUCCESS] 5 17
- [=] 19 19
- ['Successful'] 21 32
+ [SET] 1 4
+ [@TEXT_SUCCESS] 5 18
+ [=] 19 20
+ ['Successful'] 21 33
L74
- [DECLARE] 1 7
- [@COLOR_ERROR] 9 20
- [VARCHAR] 22 28
- [(] 29 29
- [10] 30 31
- [)] 32 32
+ [DECLARE] 1 8
+ [@COLOR_ERROR] 9 21
+ [VARCHAR] 22 29
+ [(] 29 30
+ [10] 30 32
+ [)] 32 33
L75
- [SET] 1 3
- [@COLOR_ERROR] 5 16
- [=] 18 18
- ['#FF4136'] 20 28
+ [SET] 1 4
+ [@COLOR_ERROR] 5 17
+ [=] 18 19
+ ['#FF4136'] 20 29
L77
- [DECLARE] 1 7
- [@COLOR_SUCCESS] 9 22
- [VARCHAR] 24 30
- [(] 31 31
- [10] 32 33
- [)] 34 34
+ [DECLARE] 1 8
+ [@COLOR_SUCCESS] 9 23
+ [VARCHAR] 24 31
+ [(] 31 32
+ [10] 32 34
+ [)] 34 35
L78
- [SET] 1 3
- [@COLOR_SUCCESS] 5 18
- [=] 20 20
- ['#2ECC40'] 22 30
+ [SET] 1 4
+ [@COLOR_SUCCESS] 5 19
+ [=] 20 21
+ ['#2ECC40'] 22 31
L80
- [DECLARE] 1 7
- [@COLOR_RETRY] 9 20
- [VARCHAR] 22 28
- [(] 29 29
- [10] 30 31
- [)] 32 32
+ [DECLARE] 1 8
+ [@COLOR_RETRY] 9 21
+ [VARCHAR] 22 29
+ [(] 29 30
+ [10] 30 32
+ [)] 32 33
L81
- [SET] 1 3
- [@COLOR_RETRY] 5 16
- [=] 18 18
- ['#FFDC00'] 20 28
+ [SET] 1 4
+ [@COLOR_RETRY] 5 17
+ [=] 18 19
+ ['#FFDC00'] 20 29
L83
- [DECLARE] 1 7
- [@COLOR_ABORTED] 9 22
- [VARCHAR] 24 30
- [(] 31 31
- [10] 32 33
- [)] 34 34
+ [DECLARE] 1 8
+ [@COLOR_ABORTED] 9 23
+ [VARCHAR] 24 31
+ [(] 31 32
+ [10] 32 34
+ [)] 34 35
L84
- [SET] 1 3
- [@COLOR_ABORTED] 5 18
- [=] 20 20
- ['#AAAAAA'] 22 30
+ [SET] 1 4
+ [@COLOR_ABORTED] 5 19
+ [=] 20 21
+ ['#AAAAAA'] 22 31
L86
- [DECLARE] 1 7
- [@COLOR_UNDEFINED] 9 24
- [VARCHAR] 26 32
- [(] 33 33
- [10] 34 35
- [)] 36 36
+ [DECLARE] 1 8
+ [@COLOR_UNDEFINED] 9 25
+ [VARCHAR] 26 33
+ [(] 33 34
+ [10] 34 36
+ [)] 36 37
L87
- [SET] 1 3
- [@COLOR_UNDEFINED] 5 20
- [=] 22 22
- ['#111111'] 24 32
+ [SET] 1 4
+ [@COLOR_UNDEFINED] 5 21
+ [=] 22 23
+ ['#111111'] 24 33
L89
- [DECLARE] 1 7
- [@COLOR_RUNNING] 9 22
- [VARCHAR] 24 30
- [(] 31 31
- [10] 32 33
- [)] 34 34
+ [DECLARE] 1 8
+ [@COLOR_RUNNING] 9 23
+ [VARCHAR] 24 31
+ [(] 31 32
+ [10] 32 34
+ [)] 34 35
L90
- [SET] 1 3
- [@COLOR_RUNNING] 5 18
- [=] 20 20
- ['#7FDBFF'] 22 30
+ [SET] 1 4
+ [@COLOR_RUNNING] 5 19
+ [=] 20 21
+ ['#7FDBFF'] 22 31
L92
- [DECLARE] 1 7
- [@COLOR_SERVERSTART] 9 26
- [VARCHAR] 28 34
- [(] 35 35
- [10] 36 37
- [)] 38 38
+ [DECLARE] 1 8
+ [@COLOR_SERVERSTART] 9 27
+ [VARCHAR] 28 35
+ [(] 35 36
+ [10] 36 38
+ [)] 38 39
L93
- [SET] 1 3
- [@COLOR_SERVERSTART] 5 22
- [=] 24 24
- ['#FF851B'] 26 34
+ [SET] 1 4
+ [@COLOR_SERVERSTART] 5 23
+ [=] 24 25
+ ['#FF851B'] 26 35
L102
- [IF] 1 2
- [OBJECT_ID] 4 12
- [(] 13 13
- ['tempdb..#JobExecutionTimes'] 14 41
- [)] 42 42
- [IS] 44 45
- [NOT] 47 49
- [NULL] 51 54
+ [IF] 1 3
+ [OBJECT_ID] 4 13
+ [(] 13 14
+ ['tempdb..#JobExecutionTimes'] 14 42
+ [)] 42 43
+ [IS] 44 46
+ [NOT] 47 50
+ [NULL] 51 55
L103
- [DROP] 4 7
- [TABLE] 9 13
- [#JobExecutionTimes] 15 32
- [;] 33 33
+ [DROP] 4 8
+ [TABLE] 9 14
+ [#JobExecutionTimes] 15 33
+ [;] 33 34
L105
- [IF] 1 2
- [OBJECT_ID] 4 12
- [(] 13 13
- ['tempdb..##TimelineGraph'] 14 38
- [)] 39 39
- [IS] 41 42
- [NOT] 44 46
- [NULL] 48 51
+ [IF] 1 3
+ [OBJECT_ID] 4 13
+ [(] 13 14
+ ['tempdb..##TimelineGraph'] 14 39
+ [)] 39 40
+ [IS] 41 43
+ [NOT] 44 47
+ [NULL] 48 52
L106
- [DROP] 4 7
- [TABLE] 9 13
- [##TimelineGraph] 15 29
- [;] 30 30
+ [DROP] 4 8
+ [TABLE] 9 14
+ [##TimelineGraph] 15 30
+ [;] 30 31
L115
- [CREATE] 1 6
- [TABLE] 8 12
- [##TimelineGraph] 14 28
+ [CREATE] 1 7
+ [TABLE] 8 13
+ [##TimelineGraph] 14 29
L116
- [(] 4 4
- [ID] 5 6
- [INT] 8 10
- [IDENTITY] 12 19
- [(] 20 20
- [1] 21 21
- [,] 22 22
- [1] 24 24
- [)] 25 25
+ [(] 4 5
+ [ID] 5 7
+ [INT] 8 11
+ [IDENTITY] 12 20
+ [(] 20 21
+ [1] 21 22
+ [,] 22 23
+ [1] 24 25
+ [)] 25 26
L117
- [NOT] 12 14
- [NULL] 16 19
+ [NOT] 12 15
+ [NULL] 16 20
L118
- [,] 4 4
- [HTML] 5 8
- [VARCHAR] 10 16
- [(] 17 17
- [8000] 18 21
- [)] 22 22
- [NULL] 24 27
+ [,] 4 5
+ [HTML] 5 9
+ [VARCHAR] 10 17
+ [(] 17 18
+ [8000] 18 22
+ [)] 22 23
+ [NULL] 24 28
L119
- [)] 4 4
+ [)] 4 5
L128
- [SELECT] 1 6
- [JOBDATA] 10 16
- [.] 17 17
- [*] 18 18
+ [SELECT] 1 7
+ [JOBDATA] 10 17
+ [.] 17 18
+ [*] 18 19
L129
- [INTO] 1 4
- [#JobExecutionTimes] 10 27
+ [INTO] 1 5
+ [#JobExecutionTimes] 10 28
L130
- [FROM] 1 4
- [(] 10 10
+ [FROM] 1 5
+ [(] 10 11
L132
- [SELECT] 11 16
- [JOB] 19 21
- [.] 22 22
- [name] 23 26
- [AS] 28 29
- [JobName] 31 37
+ [SELECT] 11 17
+ [JOB] 19 22
+ [.] 22 23
+ [name] 23 27
+ [AS] 28 30
+ [JobName] 31 38
L133
- [,] 18 18
- [CAT] 19 21
- [.] 22 22
- [name] 23 26
- [AS] 28 29
- [CatName] 31 37
+ [,] 18 19
+ [CAT] 19 22
+ [.] 22 23
+ [name] 23 27
+ [AS] 28 30
+ [CatName] 31 38
L134
- [,] 18 18
- [CONVERT] 19 25
- [(] 26 26
- [DATETIME] 27 34
- [,] 35 35
- [CONVERT] 37 43
- [(] 44 44
- [CHAR] 45 48
- [(] 49 49
- [8] 50 50
- [)] 51 51
- [,] 52 52
- [HIS] 54 56
- [.] 57 57
- [run_date] 58 65
- [,] 66 66
- [112] 68 70
- [)] 71 71
- [+] 73 73
- [' '] 75 77
+ [,] 18 19
+ [CONVERT] 19 26
+ [(] 26 27
+ [DATETIME] 27 35
+ [,] 35 36
+ [CONVERT] 37 44
+ [(] 44 45
+ [CHAR] 45 49
+ [(] 49 50
+ [8] 50 51
+ [)] 51 52
+ [,] 52 53
+ [HIS] 54 57
+ [.] 57 58
+ [run_date] 58 66
+ [,] 66 67
+ [112] 68 71
+ [)] 71 72
+ [+] 73 74
+ [' '] 75 78
L135
- [+] 19 19
- [STUFF] 21 25
- [(] 26 26
- [STUFF] 27 31
- [(] 32 32
- [RIGHT] 33 37
- [(] 38 38
- ['000000'] 39 46
+ [+] 19 20
+ [STUFF] 21 26
+ [(] 26 27
+ [STUFF] 27 32
+ [(] 32 33
+ [RIGHT] 33 38
+ [(] 38 39
+ ['000000'] 39 47
L136
- [+] 39 39
- [CONVERT] 41 47
- [(] 48 48
- [VARCHAR] 49 55
- [(] 56 56
- [8] 57 57
- [)] 58 58
- [,] 59 59
- [HIS] 61 63
- [.] 64 64
- [run_time] 65 72
- [)] 73 73
- [,] 74 74
- [6] 76 76
- [)] 77 77
- [,] 78 78
+ [+] 39 40
+ [CONVERT] 41 48
+ [(] 48 49
+ [VARCHAR] 49 56
+ [(] 56 57
+ [8] 57 58
+ [)] 58 59
+ [,] 59 60
+ [HIS] 61 64
+ [.] 64 65
+ [run_time] 65 73
+ [)] 73 74
+ [,] 74 75
+ [6] 76 77
+ [)] 77 78
+ [,] 78 79
L137
- [5] 33 33
- [,] 34 34
- [0] 36 36
- [,] 37 37
- [':'] 39 41
- [)] 42 42
- [,] 43 43
- [3] 45 45
- [,] 46 46
- [0] 48 48
- [,] 49 49
- [':'] 51 53
- [)] 54 54
- [,] 55 55
- [120] 57 59
- [)] 60 60
- [AS] 62 63
- [SDT] 65 67
+ [5] 33 34
+ [,] 34 35
+ [0] 36 37
+ [,] 37 38
+ [':'] 39 42
+ [)] 42 43
+ [,] 43 44
+ [3] 45 46
+ [,] 46 47
+ [0] 48 49
+ [,] 49 50
+ [':'] 51 54
+ [)] 54 55
+ [,] 55 56
+ [120] 57 60
+ [)] 60 61
+ [AS] 62 64
+ [SDT] 65 68
L138
- [,] 18 18
- [DATEADD] 19 25
- [(] 26 26
- [s] 27 27
- [,] 28 28
+ [,] 18 19
+ [DATEADD] 19 26
+ [(] 26 27
+ [s] 27 28
+ [,] 28 29
L139
- [(] 27 27
- [(] 28 28
- [HIS] 29 31
- [.] 32 32
- [run_duration] 33 44
- [/] 46 46
- [10000] 48 52
- [)] 53 53
- [%] 55 55
- [100] 57 59
- [*] 61 61
- [3600] 63 66
- [)] 67 67
+ [(] 27 28
+ [(] 28 29
+ [HIS] 29 32
+ [.] 32 33
+ [run_duration] 33 45
+ [/] 46 47
+ [10000] 48 53
+ [)] 53 54
+ [%] 55 56
+ [100] 57 60
+ [*] 61 62
+ [3600] 63 67
+ [)] 67 68
L140
- [+] 27 27
- [(] 29 29
- [(] 30 30
- [HIS] 31 33
- [.] 34 34
- [run_duration] 35 46
- [/] 48 48
- [100] 50 52
- [)] 53 53
- [%] 55 55
- [100] 57 59
- [*] 61 61
- [60] 63 64
- [)] 65 65
+ [+] 27 28
+ [(] 29 30
+ [(] 30 31
+ [HIS] 31 34
+ [.] 34 35
+ [run_duration] 35 47
+ [/] 48 49
+ [100] 50 53
+ [)] 53 54
+ [%] 55 56
+ [100] 57 60
+ [*] 61 62
+ [60] 63 65
+ [)] 65 66
L141
- [+] 27 27
- [HIS] 29 31
- [.] 32 32
- [run_duration] 33 44
- [%] 46 46
- [100] 48 50
- [,] 51 51
+ [+] 27 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_duration] 33 45
+ [%] 46 47
+ [100] 48 51
+ [,] 51 52
L142
- [CONVERT] 27 33
- [(] 34 34
- [DATETIME] 35 42
- [,] 43 43
- [CONVERT] 45 51
- [(] 52 52
- [CHAR] 53 56
- [(] 57 57
- [8] 58 58
- [)] 59 59
- [,] 60 60
- [HIS] 62 64
- [.] 65 65
- [run_date] 66 73
- [,] 74 74
- [112] 76 78
- [)] 79 79
+ [CONVERT] 27 34
+ [(] 34 35
+ [DATETIME] 35 43
+ [,] 43 44
+ [CONVERT] 45 52
+ [(] 52 53
+ [CHAR] 53 57
+ [(] 57 58
+ [8] 58 59
+ [)] 59 60
+ [,] 60 61
+ [HIS] 62 65
+ [.] 65 66
+ [run_date] 66 74
+ [,] 74 75
+ [112] 76 79
+ [)] 79 80
L143
- [+] 27 27
- [' '] 29 31
- [+] 33 33
- [STUFF] 35 39
- [(] 40 40
- [STUFF] 41 45
- [(] 46 46
- [RIGHT] 47 51
- [(] 52 52
- ['000000'] 53 60
+ [+] 27 28
+ [' '] 29 32
+ [+] 33 34
+ [STUFF] 35 40
+ [(] 40 41
+ [STUFF] 41 46
+ [(] 46 47
+ [RIGHT] 47 52
+ [(] 52 53
+ ['000000'] 53 61
L144
- [+] 53 53
- [CONVERT] 55 61
- [(] 62 62
- [VARCHAR] 63 69
- [(] 70 70
- [8] 71 71
- [)] 72 72
- [,] 73 73
- [HIS] 75 77
- [.] 78 78
- [run_time] 79 86
- [)] 87 87
- [,] 88 88
+ [+] 53 54
+ [CONVERT] 55 62
+ [(] 62 63
+ [VARCHAR] 63 70
+ [(] 70 71
+ [8] 71 72
+ [)] 72 73
+ [,] 73 74
+ [HIS] 75 78
+ [.] 78 79
+ [run_time] 79 87
+ [)] 87 88
+ [,] 88 89
L145
- [6] 53 53
- [)] 54 54
- [,] 55 55
- [5] 57 57
- [,] 58 58
- [0] 60 60
- [,] 61 61
- [':'] 63 65
- [)] 66 66
- [,] 67 67
- [3] 69 69
- [,] 70 70
- [0] 72 72
- [,] 73 73
- [':'] 75 77
- [)] 78 78
- [,] 79 79
- [120] 81 83
- [)] 84 84
- [)] 85 85
- [AS] 87 88
- [EDT] 90 92
+ [6] 53 54
+ [)] 54 55
+ [,] 55 56
+ [5] 57 58
+ [,] 58 59
+ [0] 60 61
+ [,] 61 62
+ [':'] 63 66
+ [)] 66 67
+ [,] 67 68
+ [3] 69 70
+ [,] 70 71
+ [0] 72 73
+ [,] 73 74
+ [':'] 75 78
+ [)] 78 79
+ [,] 79 80
+ [120] 81 84
+ [)] 84 85
+ [)] 85 86
+ [AS] 87 89
+ [EDT] 90 93
L146
- [,] 18 18
- [JOB] 19 21
- [.] 22 22
- [description] 23 33
+ [,] 18 19
+ [JOB] 19 22
+ [.] 22 23
+ [description] 23 34
L147
- [,] 18 18
- [HIS] 19 21
- [.] 22 22
- [run_status] 23 32
+ [,] 18 19
+ [HIS] 19 22
+ [.] 22 23
+ [run_status] 23 33
L148
- [,] 18 18
- [CASE] 19 22
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [0] 46 46
- [THEN] 48 51
- [@COLOR_ERROR] 53 64
+ [,] 18 19
+ [CASE] 19 23
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [0] 46 47
+ [THEN] 48 52
+ [@COLOR_ERROR] 53 65
L149
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [1] 46 46
- [THEN] 48 51
- [@COLOR_SUCCESS] 53 66
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [1] 46 47
+ [THEN] 48 52
+ [@COLOR_SUCCESS] 53 67
L150
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [2] 46 46
- [THEN] 48 51
- [@COLOR_RETRY] 53 64
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [2] 46 47
+ [THEN] 48 52
+ [@COLOR_RETRY] 53 65
L151
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [3] 46 46
- [THEN] 48 51
- [@COLOR_ABORTED] 53 66
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [3] 46 47
+ [THEN] 48 52
+ [@COLOR_ABORTED] 53 67
L152
- [ELSE] 24 27
- [@COLOR_UNDEFINED] 29 44
+ [ELSE] 24 28
+ [@COLOR_UNDEFINED] 29 45
L153
- [END] 19 21
- [AS] 23 24
- [JobStatus] 26 34
+ [END] 19 22
+ [AS] 23 25
+ [JobStatus] 26 35
L154
- [,] 18 18
- [CASE] 19 22
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [0] 46 46
- [THEN] 48 51
- [HIS] 53 55
- [.] 56 56
- [message] 57 63
+ [,] 18 19
+ [CASE] 19 23
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [0] 46 47
+ [THEN] 48 52
+ [HIS] 53 56
+ [.] 56 57
+ [message] 57 64
L155
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [1] 46 46
- [THEN] 48 51
- [@TEXT_SUCCESS] 53 65
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [1] 46 47
+ [THEN] 48 52
+ [@TEXT_SUCCESS] 53 66
L156
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [2] 46 46
- [THEN] 48 51
- [HIS] 53 55
- [.] 56 56
- [message] 57 63
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [2] 46 47
+ [THEN] 48 52
+ [HIS] 53 56
+ [.] 56 57
+ [message] 57 64
L157
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [3] 46 46
- [THEN] 48 51
- [HIS] 53 55
- [.] 56 56
- [message] 57 63
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [3] 46 47
+ [THEN] 48 52
+ [HIS] 53 56
+ [.] 56 57
+ [message] 57 64
L158
- [ELSE] 24 27
- [HIS] 29 31
- [.] 32 32
- [message] 33 39
+ [ELSE] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [message] 33 40
L159
- [END] 19 21
- [AS] 23 24
- [JobMessage] 26 35
+ [END] 19 22
+ [AS] 23 25
+ [JobMessage] 26 36
L161
- [FROM] 11 14
- [msdb] 19 22
- [.] 23 23
- [dbo] 24 26
- [.] 27 27
- [sysjobs] 28 34
- [AS] 36 37
- [JOB] 39 41
+ [FROM] 11 15
+ [msdb] 19 23
+ [.] 23 24
+ [dbo] 24 27
+ [.] 27 28
+ [sysjobs] 28 35
+ [AS] 36 38
+ [JOB] 39 42
L162
- [LEFT] 11 14
- [JOIN] 16 19
- [msdb] 21 24
- [.] 25 25
- [dbo] 26 28
- [.] 29 29
- [sysjobhistory] 30 42
- [AS] 44 45
- [HIS] 47 49
- [ON] 51 52
- [HIS] 54 56
- [.] 57 57
- [job_id] 58 63
- [=] 65 65
- [job] 67 69
- [.] 70 70
- [job_id] 71 76
+ [LEFT] 11 15
+ [JOIN] 16 20
+ [msdb] 21 25
+ [.] 25 26
+ [dbo] 26 29
+ [.] 29 30
+ [sysjobhistory] 30 43
+ [AS] 44 46
+ [HIS] 47 50
+ [ON] 51 53
+ [HIS] 54 57
+ [.] 57 58
+ [job_id] 58 64
+ [=] 65 66
+ [job] 67 70
+ [.] 70 71
+ [job_id] 71 77
L163
- [INNER] 11 15
- [JOIN] 17 20
- [msdb] 22 25
- [.] 26 26
- [dbo] 27 29
- [.] 30 30
- [syscategories] 31 43
- [AS] 45 46
- [CAT] 48 50
- [ON] 52 53
- [CAT] 55 57
- [.] 58 58
- [category_id] 59 69
- [=] 71 71
- [JOB] 73 75
- [.] 76 76
- [category_id] 77 87
+ [INNER] 11 16
+ [JOIN] 17 21
+ [msdb] 22 26
+ [.] 26 27
+ [dbo] 27 30
+ [.] 30 31
+ [syscategories] 31 44
+ [AS] 45 47
+ [CAT] 48 51
+ [ON] 52 54
+ [CAT] 55 58
+ [.] 58 59
+ [category_id] 59 70
+ [=] 71 72
+ [JOB] 73 76
+ [.] 76 77
+ [category_id] 77 88
L164
- [WHERE] 11 15
- [CONVERT] 19 25
- [(] 26 26
- [DATETIME] 27 34
- [,] 35 35
- [CONVERT] 37 43
- [(] 44 44
- [CHAR] 45 48
- [(] 49 49
- [8] 50 50
- [)] 51 51
- [,] 52 52
- [HIS] 54 56
- [.] 57 57
- [run_date] 58 65
- [,] 66 66
- [112] 68 70
- [)] 71 71
- [+] 73 73
- [' '] 75 77
+ [WHERE] 11 16
+ [CONVERT] 19 26
+ [(] 26 27
+ [DATETIME] 27 35
+ [,] 35 36
+ [CONVERT] 37 44
+ [(] 44 45
+ [CHAR] 45 49
+ [(] 49 50
+ [8] 50 51
+ [)] 51 52
+ [,] 52 53
+ [HIS] 54 57
+ [.] 57 58
+ [run_date] 58 66
+ [,] 66 67
+ [112] 68 71
+ [)] 71 72
+ [+] 73 74
+ [' '] 75 78
L165
- [+] 19 19
- [STUFF] 21 25
- [(] 26 26
- [STUFF] 27 31
- [(] 32 32
- [RIGHT] 33 37
- [(] 38 38
- ['000000'] 39 46
+ [+] 19 20
+ [STUFF] 21 26
+ [(] 26 27
+ [STUFF] 27 32
+ [(] 32 33
+ [RIGHT] 33 38
+ [(] 38 39
+ ['000000'] 39 47
L166
- [+] 39 39
- [CONVERT] 41 47
- [(] 48 48
- [VARCHAR] 49 55
- [(] 56 56
- [8] 57 57
- [)] 58 58
- [,] 59 59
- [HIS] 61 63
- [.] 64 64
- [run_time] 65 72
- [)] 73 73
- [,] 74 74
- [6] 76 76
- [)] 77 77
- [,] 78 78
+ [+] 39 40
+ [CONVERT] 41 48
+ [(] 48 49
+ [VARCHAR] 49 56
+ [(] 56 57
+ [8] 57 58
+ [)] 58 59
+ [,] 59 60
+ [HIS] 61 64
+ [.] 64 65
+ [run_time] 65 73
+ [)] 73 74
+ [,] 74 75
+ [6] 76 77
+ [)] 77 78
+ [,] 78 79
L167
- [5] 33 33
- [,] 34 34
- [0] 36 36
- [,] 37 37
- [':'] 39 41
- [)] 42 42
- [,] 43 43
- [3] 45 45
- [,] 46 46
- [0] 48 48
- [,] 49 49
- [':'] 51 53
- [)] 54 54
- [,] 55 55
- [120] 57 59
- [)] 60 60
- [BETWEEN] 62 68
- [@StartDate] 70 79
+ [5] 33 34
+ [,] 34 35
+ [0] 36 37
+ [,] 37 38
+ [':'] 39 42
+ [)] 42 43
+ [,] 43 44
+ [3] 45 46
+ [,] 46 47
+ [0] 48 49
+ [,] 49 50
+ [':'] 51 54
+ [)] 54 55
+ [,] 55 56
+ [120] 57 60
+ [)] 60 61
+ [BETWEEN] 62 69
+ [@StartDate] 70 80
L168
- [AND] 62 64
+ [AND] 62 65
L169
- [@EndDate] 63 70
+ [@EndDate] 63 71
L170
- [AND] 19 21
- [HIS] 23 25
- [.] 26 26
- [step_id] 27 33
- [=] 35 35
- [0] 37 37
+ [AND] 19 22
+ [HIS] 23 26
+ [.] 26 27
+ [step_id] 27 34
+ [=] 35 36
+ [0] 37 38
L171
- [AND] 19 21
- [(] 23 23
- [(] 24 24
- [HIS] 25 27
- [.] 28 28
- [run_duration] 29 40
- [/] 42 42
- [10000] 44 48
- [)] 49 49
- [%] 51 51
- [100] 53 55
- [*] 57 57
- [3600] 59 62
- [)] 63 63
+ [AND] 19 22
+ [(] 23 24
+ [(] 24 25
+ [HIS] 25 28
+ [.] 28 29
+ [run_duration] 29 41
+ [/] 42 43
+ [10000] 44 49
+ [)] 49 50
+ [%] 51 52
+ [100] 53 56
+ [*] 57 58
+ [3600] 59 63
+ [)] 63 64
L172
- [+] 19 19
- [(] 21 21
- [(] 22 22
- [HIS] 23 25
- [.] 26 26
- [run_duration] 27 38
- [/] 40 40
- [100] 42 44
- [)] 45 45
- [%] 47 47
- [100] 49 51
- [*] 53 53
- [60] 55 56
- [)] 57 57
- [+] 59 59
- [HIS] 61 63
- [.] 64 64
- [run_duration] 65 76
+ [+] 19 20
+ [(] 21 22
+ [(] 22 23
+ [HIS] 23 26
+ [.] 26 27
+ [run_duration] 27 39
+ [/] 40 41
+ [100] 42 45
+ [)] 45 46
+ [%] 47 48
+ [100] 49 52
+ [*] 53 54
+ [60] 55 57
+ [)] 57 58
+ [+] 59 60
+ [HIS] 61 64
+ [.] 64 65
+ [run_duration] 65 77
L173
- [%] 19 19
- [100] 21 23
- [>] 25 25
- [=] 26 26
- [@MinimalJobDurationInSeconds] 28 55
+ [%] 19 20
+ [100] 21 24
+ [>] 25 26
+ [=] 26 27
+ [@MinimalJobDurationInSeconds] 28 56
L175
- [UNION] 11 15
- [ALL] 17 19
+ [UNION] 11 16
+ [ALL] 17 20
L178
- [SELECT] 11 16
- [JOB] 19 21
- [.] 22 22
- [name] 23 26
- [AS] 28 29
- [JobName] 31 37
+ [SELECT] 11 17
+ [JOB] 19 22
+ [.] 22 23
+ [name] 23 27
+ [AS] 28 30
+ [JobName] 31 38
L179
- [,] 18 18
- [CAT] 19 21
- [.] 22 22
- [name] 23 26
- [AS] 28 29
- [CatName] 31 37
+ [,] 18 19
+ [CAT] 19 22
+ [.] 22 23
+ [name] 23 27
+ [AS] 28 30
+ [CatName] 31 38
L180
- [,] 18 18
- [JA] 19 20
- [.] 21 21
- [start_execution_date] 22 41
- [AS] 43 44
- [SDT] 46 48
+ [,] 18 19
+ [JA] 19 21
+ [.] 21 22
+ [start_execution_date] 22 42
+ [AS] 43 45
+ [SDT] 46 49
L181
- [,] 18 18
- [GETDATE] 19 25
- [(] 26 26
- [)] 27 27
- [AS] 29 30
- [EDT] 32 34
+ [,] 18 19
+ [GETDATE] 19 26
+ [(] 26 27
+ [)] 27 28
+ [AS] 29 31
+ [EDT] 32 35
L182
- [,] 18 18
- [JOB] 19 21
- [.] 22 22
- [description] 23 33
+ [,] 18 19
+ [JOB] 19 22
+ [.] 22 23
+ [description] 23 34
L183
- [,] 18 18
- [HIS] 19 21
- [.] 22 22
- [run_status] 23 32
+ [,] 18 19
+ [HIS] 19 22
+ [.] 22 23
+ [run_status] 23 33
L184
- [,] 18 18
- [CASE] 19 22
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [0] 46 46
- [THEN] 48 51
- [@COLOR_ERROR] 53 64
+ [,] 18 19
+ [CASE] 19 23
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [0] 46 47
+ [THEN] 48 52
+ [@COLOR_ERROR] 53 65
L185
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [1] 46 46
- [THEN] 48 51
- [@COLOR_SUCCESS] 53 66
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [1] 46 47
+ [THEN] 48 52
+ [@COLOR_SUCCESS] 53 67
L186
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [2] 46 46
- [THEN] 48 51
- [@COLOR_RETRY] 53 64
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [2] 46 47
+ [THEN] 48 52
+ [@COLOR_RETRY] 53 65
L187
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [3] 46 46
- [THEN] 48 51
- [@COLOR_ABORTED] 53 66
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [3] 46 47
+ [THEN] 48 52
+ [@COLOR_ABORTED] 53 67
L188
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [IS] 44 45
- [NULL] 47 50
- [THEN] 52 55
- [@COLOR_RUNNING] 57 70
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [IS] 44 46
+ [NULL] 47 51
+ [THEN] 52 56
+ [@COLOR_RUNNING] 57 71
L189
- [ELSE] 24 27
- [@COLOR_UNDEFINED] 29 44
+ [ELSE] 24 28
+ [@COLOR_UNDEFINED] 29 45
L190
- [END] 19 21
- [AS] 23 24
- [JobStatus] 26 34
+ [END] 19 22
+ [AS] 23 25
+ [JobStatus] 26 35
L191
- [,] 18 18
- [CASE] 19 22
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [0] 46 46
- [THEN] 48 51
- [HIS] 53 55
- [.] 56 56
- [message] 57 63
+ [,] 18 19
+ [CASE] 19 23
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [0] 46 47
+ [THEN] 48 52
+ [HIS] 53 56
+ [.] 56 57
+ [message] 57 64
L192
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [1] 46 46
- [THEN] 48 51
- [@TEXT_SUCCESS] 53 65
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [1] 46 47
+ [THEN] 48 52
+ [@TEXT_SUCCESS] 53 66
L193
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [2] 46 46
- [THEN] 48 51
- [HIS] 53 55
- [.] 56 56
- [message] 57 63
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [2] 46 47
+ [THEN] 48 52
+ [HIS] 53 56
+ [.] 56 57
+ [message] 57 64
L194
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [=] 44 44
- [3] 46 46
- [THEN] 48 51
- [HIS] 53 55
- [.] 56 56
- [message] 57 63
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [=] 44 45
+ [3] 46 47
+ [THEN] 48 52
+ [HIS] 53 56
+ [.] 56 57
+ [message] 57 64
L195
- [WHEN] 24 27
- [HIS] 29 31
- [.] 32 32
- [run_status] 33 42
- [IS] 44 45
- [NULL] 47 50
- [THEN] 52 55
- ['Running currently'] 57 75
+ [WHEN] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [run_status] 33 43
+ [IS] 44 46
+ [NULL] 47 51
+ [THEN] 52 56
+ ['Running currently'] 57 76
L196
- [ELSE] 24 27
- [HIS] 29 31
- [.] 32 32
- [message] 33 39
+ [ELSE] 24 28
+ [HIS] 29 32
+ [.] 32 33
+ [message] 33 40
L197
- [END] 19 21
- [AS] 23 24
- [JobMessage] 26 35
+ [END] 19 22
+ [AS] 23 25
+ [JobMessage] 26 36
L199
- [FROM] 11 14
- [msdb] 19 22
- [.] 23 23
- [dbo] 24 26
- [.] 27 27
- [sysjobactivity] 28 41
- [AS] 43 44
- [JA] 46 47
+ [FROM] 11 15
+ [msdb] 19 23
+ [.] 23 24
+ [dbo] 24 27
+ [.] 27 28
+ [sysjobactivity] 28 42
+ [AS] 43 45
+ [JA] 46 48
L200
- [LEFT] 11 14
- [JOIN] 16 19
- [msdb] 21 24
- [.] 25 25
- [dbo] 26 28
- [.] 29 29
- [sysjobhistory] 30 42
- [AS] 44 45
- [HIS] 47 49
- [ON] 51 52
- [HIS] 54 56
- [.] 57 57
- [instance_id] 58 68
- [=] 70 70
- [JA] 72 73
- [.] 74 74
- [job_history_id] 75 88
+ [LEFT] 11 15
+ [JOIN] 16 20
+ [msdb] 21 25
+ [.] 25 26
+ [dbo] 26 29
+ [.] 29 30
+ [sysjobhistory] 30 43
+ [AS] 44 46
+ [HIS] 47 50
+ [ON] 51 53
+ [HIS] 54 57
+ [.] 57 58
+ [instance_id] 58 69
+ [=] 70 71
+ [JA] 72 74
+ [.] 74 75
+ [job_history_id] 75 89
L201
- [JOIN] 11 14
- [msdb] 19 22
- [.] 23 23
- [dbo] 24 26
- [.] 27 27
- [sysjobs] 28 34
- [AS] 36 37
- [JOB] 39 41
- [ON] 43 44
- [JOB] 46 48
- [.] 49 49
- [job_id] 50 55
- [=] 57 57
- [JA] 59 60
- [.] 61 61
- [job_id] 62 67
+ [JOIN] 11 15
+ [msdb] 19 23
+ [.] 23 24
+ [dbo] 24 27
+ [.] 27 28
+ [sysjobs] 28 35
+ [AS] 36 38
+ [JOB] 39 42
+ [ON] 43 45
+ [JOB] 46 49
+ [.] 49 50
+ [job_id] 50 56
+ [=] 57 58
+ [JA] 59 61
+ [.] 61 62
+ [job_id] 62 68
L202
- [JOIN] 11 14
- [msdb] 19 22
- [.] 23 23
- [dbo] 24 26
- [.] 27 27
- [sysjobsteps] 28 38
- [AS] 40 41
- [JS] 43 44
- [ON] 46 47
- [JS] 49 50
- [.] 51 51
- [job_id] 52 57
- [=] 59 59
- [JA] 61 62
- [.] 63 63
- [job_id] 64 69
+ [JOIN] 11 15
+ [msdb] 19 23
+ [.] 23 24
+ [dbo] 24 27
+ [.] 27 28
+ [sysjobsteps] 28 39
+ [AS] 40 42
+ [JS] 43 45
+ [ON] 46 48
+ [JS] 49 51
+ [.] 51 52
+ [job_id] 52 58
+ [=] 59 60
+ [JA] 61 63
+ [.] 63 64
+ [job_id] 64 70
L203
- [AND] 46 48
- [ISNULL] 50 55
- [(] 56 56
- [JA] 57 58
- [.] 59 59
- [last_executed_step_id] 60 80
- [,] 81 81
+ [AND] 46 49
+ [ISNULL] 50 56
+ [(] 56 57
+ [JA] 57 59
+ [.] 59 60
+ [last_executed_step_id] 60 81
+ [,] 81 82
L204
- [0] 57 57
- [)] 58 58
- [+] 60 60
- [1] 62 62
- [=] 64 64
- [JS] 66 67
- [.] 68 68
- [step_id] 69 75
+ [0] 57 58
+ [)] 58 59
+ [+] 60 61
+ [1] 62 63
+ [=] 64 65
+ [JS] 66 68
+ [.] 68 69
+ [step_id] 69 76
L205
- [LEFT] 11 14
- [JOIN] 16 19
- [msdb] 21 24
- [.] 25 25
- [dbo] 26 28
- [.] 29 29
- [syscategories] 30 42
- [AS] 44 45
- [CAT] 47 49
- [ON] 51 52
- [CAT] 54 56
- [.] 57 57
- [category_id] 58 68
- [=] 70 70
- [JOB] 72 74
- [.] 75 75
- [category_id] 76 86
+ [LEFT] 11 15
+ [JOIN] 16 20
+ [msdb] 21 25
+ [.] 25 26
+ [dbo] 26 29
+ [.] 29 30
+ [syscategories] 30 43
+ [AS] 44 46
+ [CAT] 47 50
+ [ON] 51 53
+ [CAT] 54 57
+ [.] 57 58
+ [category_id] 58 69
+ [=] 70 71
+ [JOB] 72 75
+ [.] 75 76
+ [category_id] 76 87
L206
- [WHERE] 11 15
- [JA] 19 20
- [.] 21 21
- [session_id] 22 31
- [=] 33 33
- [(] 35 35
- [SELECT] 36 41
- [TOP] 43 45
- [1] 47 47
+ [WHERE] 11 16
+ [JA] 19 21
+ [.] 21 22
+ [session_id] 22 32
+ [=] 33 34
+ [(] 35 36
+ [SELECT] 36 42
+ [TOP] 43 46
+ [1] 47 48
L207
- [session_id] 43 52
+ [session_id] 43 53
L208
- [FROM] 36 39
- [msdb] 43 46
- [.] 47 47
- [dbo] 48 50
- [.] 51 51
- [syssessions] 52 62
+ [FROM] 36 40
+ [msdb] 43 47
+ [.] 47 48
+ [dbo] 48 51
+ [.] 51 52
+ [syssessions] 52 63
L209
- [ORDER] 36 40
- [BY] 42 43
- [agent_start_date] 45 60
- [DESC] 62 65
+ [ORDER] 36 41
+ [BY] 42 44
+ [agent_start_date] 45 61
+ [DESC] 62 66
L210
- [)] 35 35
+ [)] 35 36
L211
- [AND] 19 21
- [JA] 23 24
- [.] 25 25
- [start_execution_date] 26 45
- [IS] 47 48
- [NOT] 50 52
- [NULL] 54 57
+ [AND] 19 22
+ [JA] 23 25
+ [.] 25 26
+ [start_execution_date] 26 46
+ [IS] 47 49
+ [NOT] 50 53
+ [NULL] 54 58
L212
- [AND] 19 21
- [JA] 23 24
- [.] 25 25
- [stop_execution_date] 26 44
- [IS] 46 47
- [NULL] 49 52
+ [AND] 19 22
+ [JA] 23 25
+ [.] 25 26
+ [stop_execution_date] 26 45
+ [IS] 46 48
+ [NULL] 49 53
L213
- [)] 10 10
- [AS] 12 13
- [JOBDATA] 15 21
+ [)] 10 11
+ [AS] 12 14
+ [JOBDATA] 15 22
L215
- [ORDER] 1 5
- [BY] 7 8
- [JOBDATA] 10 16
- [.] 17 17
- [JobName] 18 24
+ [ORDER] 1 6
+ [BY] 7 9
+ [JOBDATA] 10 17
+ [.] 17 18
+ [JobName] 18 25
L217
- [IF] 1 2
- [NOT] 4 6
- [EXISTS] 8 13
- [(] 15 15
- [SELECT] 17 22
- [1] 25 25
+ [IF] 1 3
+ [NOT] 4 7
+ [EXISTS] 8 14
+ [(] 15 16
+ [SELECT] 17 23
+ [1] 25 26
L218
- [FROM] 17 20
- [#JobExecutionTimes] 25 42
- [)] 44 44
+ [FROM] 17 21
+ [#JobExecutionTimes] 25 43
+ [)] 44 45
L219
- [GOTO] 4 7
- [NothingToDo] 9 19
+ [GOTO] 4 8
+ [NothingToDo] 9 20
L228
- [DECLARE] 1 7
- [@ERROR_COUNT] 9 20
- [AS] 22 23
- [INTEGER] 25 31
+ [DECLARE] 1 8
+ [@ERROR_COUNT] 9 21
+ [AS] 22 24
+ [INTEGER] 25 32
L229
- [DECLARE] 1 7
- [@ERROR_TEXT] 9 19
- [AS] 21 22
- [VARCHAR] 24 30
- [(] 31 31
- [50] 32 33
- [)] 34 34
+ [DECLARE] 1 8
+ [@ERROR_TEXT] 9 20
+ [AS] 21 23
+ [VARCHAR] 24 31
+ [(] 31 32
+ [50] 32 34
+ [)] 34 35
L230
- [SET] 1 3
- [@ERROR_COUNT] 5 16
- [=] 18 18
- [(] 20 20
- [SELECT] 21 26
- [COUNT] 28 32
- [(] 33 33
- [*] 34 34
- [)] 35 35
- [FROM] 37 40
- [#JobExecutionTimes] 42 59
- [WHERE] 61 65
- [run_status] 67 76
- [=] 77 77
- [0] 78 78
- [)] 79 79
+ [SET] 1 4
+ [@ERROR_COUNT] 5 17
+ [=] 18 19
+ [(] 20 21
+ [SELECT] 21 27
+ [COUNT] 28 33
+ [(] 33 34
+ [*] 34 35
+ [)] 35 36
+ [FROM] 37 41
+ [#JobExecutionTimes] 42 60
+ [WHERE] 61 66
+ [run_status] 67 77
+ [=] 77 78
+ [0] 78 79
+ [)] 79 80
L231
- [IF] 1 2
- [@ERROR_COUNT] 4 15
- [>] 17 17
- [0] 19 19
+ [IF] 1 3
+ [@ERROR_COUNT] 4 16
+ [>] 17 18
+ [0] 19 20
L232
- [SET] 4 6
- [@ERROR_TEXT] 8 18
- [=] 20 20
- ['There are '] 22 33
- [+] 35 35
- [CONVERT] 37 43
- [(] 44 44
- [varchar] 45 51
- [(] 52 52
- [4] 53 53
- [)] 54 54
- [,] 55 55
- [@ERROR_COUNT] 57 68
- [)] 69 69
- [+] 71 71
- [' faulty jobs.'] 72 86
+ [SET] 4 7
+ [@ERROR_TEXT] 8 19
+ [=] 20 21
+ ['There are '] 22 34
+ [+] 35 36
+ [CONVERT] 37 44
+ [(] 44 45
+ [varchar] 45 52
+ [(] 52 53
+ [4] 53 54
+ [)] 54 55
+ [,] 55 56
+ [@ERROR_COUNT] 57 69
+ [)] 69 70
+ [+] 71 72
+ [' faulty jobs.'] 72 87
L233
- [ELSE] 1 4
+ [ELSE] 1 5
L234
- [SET] 4 6
- [@ERROR_TEXT] 8 18
- [=] 20 20
- [''] 22 23
+ [SET] 4 7
+ [@ERROR_TEXT] 8 19
+ [=] 20 21
+ [''] 22 24
L243
- [INSERT] 1 6
- [INTO] 10 13
- [##TimelineGraph] 15 29
+ [INSERT] 1 7
+ [INTO] 10 14
+ [##TimelineGraph] 15 30
L244
- [(] 10 10
- [HTML] 11 14
+ [(] 10 11
+ [HTML] 11 15
L245
- [)] 10 10
+ [)] 10 11
L246
- [SELECT] 1 6
- ['\n \n [ 10 1
+ [SELECT] 1 7
+ ['\n \n [ 10 2
L263
- [INSERT] 1 6
- [INTO] 10 13
- [##TimelineGraph] 15 29
+ [INSERT] 1 7
+ [INTO] 10 14
+ [##TimelineGraph] 15 30
L264
- [(] 10 10
- [HTML] 11 14
+ [(] 10 11
+ [HTML] 11 15
L265
- [)] 10 10
+ [)] 10 11
L266
- [SELECT] 1 6
- ['\n #legend[ 10 48
+ [SELECT] 1 7
+ ['\n #legend[ 10 49
L291
- [+] 49 49
- [@COLOR_SUCCESS] 51 64
- [+] 66 66
- [';\n }\n\n [ 68 48
+ [+] 49 50
+ [@COLOR_SUCCESS] 51 65
+ [+] 66 67
+ [';\n }\n\n [ 68 49
L295
- [+] 49 49
- [@COLOR_RUNNING] 51 64
- [+] 66 66
- [';\n }\n\n [ 68 48
+ [+] 49 50
+ [@COLOR_RUNNING] 51 65
+ [+] 66 67
+ [';\n }\n\n [ 68 49
L299
- [+] 49 49
- [@COLOR_ERROR] 51 62
- [+] 64 64
- [';\n }\n\n [ 66 48
+ [+] 49 50
+ [@COLOR_ERROR] 51 63
+ [+] 64 65
+ [';\n }\n\n [ 66 49
L303
- [+] 49 49
- [@COLOR_RETRY] 51 62
- [+] 64 64
- [';\n }\n\n [ 66 48
+ [+] 49 50
+ [@COLOR_RETRY] 51 63
+ [+] 64 65
+ [';\n }\n\n [ 66 49
L307
- [+] 49 49
- [@COLOR_ABORTED] 51 64
- [+] 66 66
- [';\n }\n\n [ 68 48
+ [+] 49 50
+ [@COLOR_ABORTED] 51 65
+ [+] 66 67
+ [';\n }\n\n [ 68 49
L311
- [+] 49 49
- [@COLOR_SERVERSTART] 51 68
- [+] 70 70
- [';\n }\n\n [ 72 48
+ [+] 49 50
+ [@COLOR_SERVERSTART] 51 69
+ [+] 70 71
+ [';\n }\n\n [ 72 49
L315
- [+] 49 49
- [@COLOR_UNDEFINED] 51 66
- [+] 68 68
- [';\n }\n\n'] 70 1
+ [+] 49 50
+ [@COLOR_UNDEFINED] 51 67
+ [+] 68 69
+ [';\n }\n\n'] 70 2
L321
- [INSERT] 1 6
- [INTO] 10 13
- [##TimelineGraph] 15 29
+ [INSERT] 1 7
+ [INTO] 10 14
+ [##TimelineGraph] 15 30
L322
- [(] 10 10
- [HTML] 11 14
- [)] 15 15
+ [(] 10 11
+ [HTML] 11 15
+ [)] 15 16
L323
- [SELECT] 1 6
- [''] 10 19
+ [SELECT] 1 7
+ [''] 10 20
L326
- [INSERT] 1 6
- [INTO] 10 13
- [##TimelineGraph] 15 29
+ [INSERT] 1 7
+ [INTO] 10 14
+ [##TimelineGraph] 15 30
L327
- [(] 10 10
- [HTML] 11 14
+ [(] 10 11
+ [HTML] 11 15
L328
- [)] 10 10
+ [)] 10 11
L329
- [SELECT] 1 6
- ['