on 11-10-2018 9:31 AM
Is there any SAP utility given to compare 2 table Data Contents ? Both are having identical structures .
Hi Gopal,
I think you can use hashbytes() to compare contents of the two tables.
For example,
select hashbytes('sha1', col1, col2,...) as hashval into #tab1 from tab1
go
select hashbytes('sha1', col1, col2,...) as hashval into #tab2 from tab2
go
select count(*) from #tab1 a, #tab2 b where a.hashval = b.hashval
go
If you want to know hashbytes() in detail, please refer to the manual.
Best regards,
Jongun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.