SSIS (SQL Server Integration Services)를 사용하여 증분 데이터로드를 수행하고 가져 오기 및 기존 행 데이터의 해시를 비교합니다. 나는 이것을 사용하고 있습니다 :SQL Server Integration Services - 증분 데이터로드 해시 비교
http://ssismhash.codeplex.com/
는 비교를 위해 SHA512 해시를 만들 수 있습니다. 데이터 가져 오기 해시를 비교하기 위해 노력하고 조건부 분할 작업 (표현이 NEW_HASH == OLD_HASH이다) 나는 표현에 들어가면 다음과 같은 오류가 발생하여 데이터베이스에서 해시를 기존의 경우 : 문자열로 각 열을 캐스팅에서
The data type "DT_BYTES" cannot be used with binary operator "==". The type of one or both of the operands is not supported for the operation. To perform this operation, one or both operands need to be explicitly cast with a cast operator.
시도를 (DT_WSTR, 64) 비교 결과 truncation 오류가 발생했습니다.
더 좋은 방법이 있습니까, 아니면 작은 세부 사항이 누락 되었습니까?
감사합니다.
int로 변환 해 보았습니까? – unclepaul84