CRC32():32-bit unsigned value of the string

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 .

Column Structure to Insert

If you are storing the output of crc32() then the column should be INT and attributes should be UNSIGNED

PHP function crc32()

If you are using PHP then you will get same output
<?Php
echo crc32('plus2net');
?>
Output is 930124482

SQL Math References ABS() to get Absolute value Average value Query
Subhendu Mohapatra — author at plus2net
Subhendu Mohapatra

Author

🎥 Join me live on YouTube

Passionate about coding and teaching, I publish practical tutorials on PHP, Python, JavaScript, SQL, and web development. My goal is to make learning simple, engaging, and project‑oriented with real examples and source code.



Subscribe to our YouTube Channel here



plus2net.com




SQL Video Tutorials










We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
©2000-2025   plus2net.com   All rights reserved worldwide Privacy Policy Disclaimer