|
![]() |
Property | Value |
Name | SQL Retrieve Last ETLExecutionLog ExecutionStatus |
Description | Execute SQL Task |
Precedence Executables | none |
Contrained Executables | none |
BypassPrepare | True |
CodePage | 1252 |
Connection | DWOperations |
CreationName | Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 |
DelayValidation | False |
Description | Execute SQL Task |
Disable | False |
DisableEventHandlers | False |
EventHandlers | System.__ComObject |
EventInfos | System.__ComObject |
ExecutionDuration | 0 |
ExecutionResult | 0 |
ExecutionStatus | 1 |
ExecutionValue | |
FailPackageOnFailure | False |
FailParentOnFailure | False |
ForcedExecutionValue | 0 |
ForceExecutionResult | -1 |
ForceExecutionValue | False |
ID | {42e1db9d-d9fa-4dc7-83b8-2cf22f5475fd} |
IsDefaultLocaleID | True |
IsolationLevel | 1048576 |
IsStoredProcedure | False |
LocaleID | English (United States) |
LogEntryInfos | System.__ComObject |
LoggingMode | 0 |
LoggingOptions | System.__ComObject |
MaximumErrorCount | 1 |
Name | SQL Retrieve Last ETLExecutionLog ExecutionStatus |
ParameterBindings | Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ParameterBindings |
Parent | System.__ComObject |
ResultSetBindings | Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ResultBindings |
ResultSetType | 2 |
SqlStatementSource | EXEC (' IF (2=3) BEGIN SELECT CAST(0 AS Int) AS ETLExecutionLogId ,CAST(''Jan 1 1900 12:00:00:000AM'' AS varchar(40)) AS StartDtTm , CAST(''Jan 1 1900 12:00:00:000AM'' AS varchar(40)) AS EndDtTm , CAST(''No Log'' AS varchar(10)) AS ExecutionStatus END DECLARE @MostRecentExecutionLogId int = 0 SELECT @MostRecentExecutionLogId = max(el.ETLExecutionLogId) FROM [dbo].[ETLExecutionLog] el; IF @MostRecentExecutionLogId IS NOT NULL SELECT el.ETLExecutionLogId , convert(VARCHAR(40), el.StartDtTm, 109) AS StartDtTm , convert(VARCHAR(40), el.EndDtTm, 109) AS EndDtTm , el.ExecutionStatus FROM dbo.ETLExecutionLog el WHERE el.ETLExecutionLogId = @MostRecentExecutionLogId ELSE SELECT CAST(0 AS Int) AS ETLExecutionLogId ,CAST(''Jan 1 1900 12:00:00:000AM'' AS varchar(40)) AS StartDtTm , CAST(''Jan 1 1900 12:00:00:000AM'' AS varchar(40)) AS EndDtTm , CAST(''Completed'' AS varchar(10)) AS ExecutionStatus ') |
SqlStatementSourceType | 1 |
StartTime | 3/9/2017 5:28:47 PM |
StopTime | 3/9/2017 5:28:47 PM |
TimeOut | 0 |
TransactionOption | 1 |
VariableDispenser | System.__ComObject |
Variables | System.__ComObject |
Version | 0 |
Name | Value | Description |
Name | Description | Enabled | Fail Package On Failure | Fail Parent On Failure |
Powered by BI Documenter |