DROP FUNCTION

Sintassi

DROP FUNCTION [IF EXISTS] nome_funz

Spiegazione

L'istruzione DROP FUNCTION elimina una Stored Function. La Routine specificata viene cancellata dal server. E' necessario disporre del permesso ALTER ROUTINE sulla Routine interessata. (Questo privilegio è garantito automaticamente al creatore della Routine.)

La clausola IF EXISTS è un'estensione di MySQL/MariaDB. Fa sì che nessun errore venga prodotto se la Routine non esiste. Un warning viene generato e può essere visualizzato con SHOW WARNINGS.

Per eliminare le Sser-Defined Function (UDF), si veda DROP FUNCTION UDF.

Commenti

Sto caricando i commenti......
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.