0
SQL Server 통합 서비스 2005를 사용하여 파일에서 타임 스탬프를 얻는 방법은 무엇입니까?SSIS 2005 - 파일의 타임 스탬프 속성을 얻는 방법
SQL Server 통합 서비스 2005를 사용하여 파일에서 타임 스탬프를 얻는 방법은 무엇입니까?SSIS 2005 - 파일의 타임 스탬프 속성을 얻는 방법
당신은이 라인을 따라 뭔가 트릭해야 스크립트 작업을 사용해야합니다 :
Dim filePath As String = "C:\YourFolder\YourFile.ext"
If File.Exists(filePath) = False Then
Dts.TaskResult = Dts.Results.Failure
Return
End If
Dim currentDate As Date = DateTime.Now
Dim fileCreateDate As Date = File.GetCreationTime(path)
If currentDate.ToShortDateString <> fileCreateDate.ToShortDateString Then
'Do something
End If
당신이 얻을하는 오픈 소스 File Properties Task을 사용할 수 있습니다/또는 세 개의 타임 스탬프 중 어느 하나의 설정 파일에.