I need to generate a uniquie key of length 10 based on the composite keys (6 fields) which is of maximum length 70.
For Eg:
Number | Title | First_Name | Last_Name | Surname | Place | UNIQUE_IDENTIFIER | LENGTH_UNIQUE_ID |
123456 | Mr. | ABCDEFGH | NHSJD | UADGF | SALEM | 123456Mr.ABCDEFGHNHSJDUADGFSALEM | 32 |
123456 | Mrs. | JHGFDASAF | ADAD | AFWFS | TIRUCHY | 123456Mrs.JHGFDASAFADADAFWFSTIRUCHY | 35 |
123456 | Mr. | BALASADD | FJUSDFH | NHSJD | SALEM | 123456Mr.BALASADDFJUSDFHNHSJDSALEM | 34 |
987456 | Dr. | ANANTHAD | ADDFFQ | FSSF | CHENNAI | 987456Dr.ANANTHADADDFFQFSSFCHENNAI | 34 |
In the above example the length of the unique identifier is greater than 10.
I donot want to use the function gen_row_num(), as the ID generated for each run will not map to the same record.
For a particular record, I want the ID generated should be same for every job run.
Is there anyway to generate the uniquie identifier of lenght 10 with the same data.