Comments - CREATE FUNCTION

6 years, 7 months ago Karl Levik

It says the OR REPLACE clause is a short-hand for DROP FUNCTION ... CREATE FUNCTION ..., but in addition to being shorter, OR REPLACE has another advantage, namely that it doesn't revoke any grants on the function. If you DROP a function, it will automatically revoke the grants on it.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.