I am trying to figure out a way of finding out if any duplicates exist in the data values of a particular column.
In short, we should be able to define an Unique key constraint on that column.
eg. Table A has colA and colB, then I want to find if duplicate values exist in colB.
Looping thru' all the records is a way, but I want to avoid it and achieve the results using SELECT query.
Thanks
In short, we should be able to define an Unique key constraint on that column.
eg. Table A has colA and colB, then I want to find if duplicate values exist in colB.
Looping thru' all the records is a way, but I want to avoid it and achieve the results using SELECT query.
Thanks