If the number of characters to be deleted exceeds the number of characters available in the original string, the MySQL INSERT() function will continue to delete characters until the end of the original string.
mysql> Select INSERT('myteststring',3,15,'original'); +----------------------------------------+ | INSERT('myteststring',3,15,'original') | +----------------------------------------+ | myoriginal | +----------------------------------------+ 1 row in set (0.00 sec)
The above is the detailed content of What does the MySQL INSERT() function return if the number of characters to be deleted exceeds the number of characters available in the original string?. For more information, please follow other related articles on the PHP Chinese website!