Updated on 2023-10-25 GMT+08:00

javahash

This function is used to return the hash value of a.

Syntax

javahash(string a)

Parameters

Table 1 Parameter

Parameter

Mandatory

Type

Description

a

Yes

STRING

Data whose hash value needs to be returned

Return Values

The return value is of the STRING type.

The hash value is returned. If the value of a is null, an error is reported.

Example Code

The value 48690 is returned.

select javahash("123");

The value 123 is returned.

select javahash(123);