Quantcast
Viewing all articles
Browse latest Browse all 24688

Hashbyte datatypes for BIT, Bigint, nvarchar and datetimeoffset

Hi Experts,

I am building an SSIS package to do the delta load.

I am creating Select statement in source and target editors to compare the data changes. I am using HASHBYTE function in the select statement which I would use to update the records with the below code in Split Change transformation.

(ID == [ID (1)]) && ((DT_WSTR,40)HASHBYTE != (DT_WSTR,40)[HASHBYTE (1)])

However, my source table has fields with the data types BIT, Bigint, nvarchar and datetimeoffset.

Could you please advise what would be my HASHBYTE code?

Appreciate your response. Thanks in advance.


Viewing all articles
Browse latest Browse all 24688

Trending Articles