|
-
owa_opt_lock.checksum function :
===================================
Syntax
owa_opt_lock.checksum(p_buff in varchar2) return number;
owa_opt_lock.checksum(
p_owner in varchar2
p_tname in varchar2
p_rowid in rowid) return number;
Purpose :
-------------
This function returns a checksum value for a specified string, or for a row in a table. For a row in a table, the function calculates the checksum value based on the values of the columns in the row. This function comes in two versions.
The first version returns a checksum based on the specified string. This is a "pure" 32-bit checksum executed by the database and based on the Internet 1 protocol.
The second version returns a checksum based on the values of a row in a table. This is a "impure" 32-bit checksum based on the Internet 1 protocol.
Parameters :
--------------
p_buff - the string for which you want to calculate the checksum.
p_owner - the owner of the table.
p_tname - the table name.
p_rowid - the row in p_tname for which you want to calculate the checksum value. You can use the owa_opt_lock.get_rowid function to convert vcArray values to proper rowids.
Return Value :
----------------
A checksum value.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|