SELECT CRC32('string' )
Returns a 32-bit unsigned value of the input string (cyclic redundancy checksum), this can be stored in a table
SELECT CRC32('plus2net'); // Output is 930124482
SELECT CRC32(null);// Output is NULL
The input is treated as string .
<?Php
echo crc32('plus2net');
?>
Output is 930124482
Author & Instructor at plus2net
I write and maintain practical tutorials on Python, PHP, SQL, JavaScript, HTML, jQuery, and web development at plus2net. The tutorials focus on clear explanations, working examples, and code that readers can test and adapt while learning.