DROP SHARE
DROP SHARE
is used to delete a share by the share creator. Users who have attached the share will lose access.
This will throw an error if the share does not exist.
DROP SHARE IF EXISTS
is used to delete a share by the share creator and will not throw an error if the share does not exist.
Syntax
DROP SHARE "<share_name>";
DROP SHARE IF EXISTS "<share_name>";