Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hash Key? 1

Status
Not open for further replies.

wellster34

Programmer
Sep 4, 2001
113
CA
Hi,

Does anybody know anything about Hash Keys on tables? I need to figure out when I join to a table that contains one, to capture the hash key value. Oracle refers to a hash function to get that information but I have not found it yet.


[dazed]
 
Found it, there is a DBMS_UTILITY.GET_HASH_VALUE where you pass it a VARCHAR2 for the string to convert. The next parameter is a number to indicate the start of the hash key. Final parameter is the size of the hash key.

In order to use it for testing purposes, SELECT DBMS_UTLITY..... FROM DUAL; You can just refer to it as a function since that is what the utility is.
 
Thanks for posting back. Always nice to see an answer to those 'hanging' questions!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top