Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
DBMS_UTILITY , 19 of 23
This function computes a hash value for the given string.
DBMS_UTILITY.GET_HASH_VALUE ( name VARCHAR2, base NUMBER, hash_size NUMBER) RETURN NUMBER;
Parameter | Description |
---|---|
name |
String to be hashed. |
base |
Base value for the returned hash value to start at. |
hash_size |
Desired size of the hash table. |
pragma restrict_references(get_hash_value, WNDS, RNDS, WNPS, RNPS);
A hash value based on the input string. For example, to get a hash value on a string where the hash value should be between 1000 and 3047, use 1000 as the base value and 2048 as the hash_size
value. Using a power of 2 for the hash_size
parameter works best.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|