hash - How to generate hashkey using multiple columns in oracle? Could you please give me an example? -
how generate hash key using multiple columns in oracle? please give me example?
depending on want hash for, might use ora_hash:
select ora_hash(name || '~' || surname || '~' || position) emp;
http://docs.oracle.com/cd/b12037_01/server.101/b10759/functions097.htm
or might use dbms_crypto.hash:
http://docs.oracle.com/cd/e11882_01/appdev.112/e40758/d_crypto.htm#i1002022
Comments
Post a Comment