SELECT Employee.EmployeeID, Employee.FullName, EmpEntityParamValues.ParamValue, FROM EmpEntityParamValues INNER JOIN Employee ON EmpEntityParamValues.EmployeeId = Employee.EmployeeID AND EmpEntityParamValues.EntityTypeParamID = @EntityTypeParamID AND ( TRY_PARSE(EmpEntityParamValues.ParamValue AS smalldatetime) BETWEEN @CurrentDateTime AND @LastDateTime )
CAST
CONVERT
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)