Hi Siddesh,
As commented by rajeev, sample would provide more clarity on your requirement.
on a brief note:
You can use a self left join to table with left joining table to be a derived table on main table with duplicated PI (if you are checking for complete duplicated row) and you can use case statements to compare the columns to mark the duplicate flag.
cheers
Jagdish
Hi Siddesh,
As commented by rajeev, sample would provide more clarity on your requirement.
on a brief note:
You can use a self left join to table with left joining table to be a derived table on main table with duplicated PI (if you are checking for complete duplicated row) and you can use case statements to compare the columns to mark the duplicate flag.
cheers
Jagdish