Drop a MotherDuck share
drop_share.RdDrops (deletes) a specified share from your MotherDuck account. If the share does not exist, a warning is displayed. This function safely validates the connection and share name before executing the operation.
Details
The function first validates that the connection is active. It then checks
whether the specified share exists in the account. If it does, the share is
dropped using a DROP SHARE IF EXISTS SQL command. If the share does not
exist, a warning is shown. After the operation, the current user is displayed.
See also
Other db-manage:
alter_table_schema(),
copy_tables_to_new_location(),
create_database(),
create_if_not_exists_share(),
create_or_replace_share(),
create_schema(),
create_table(),
delete_and_create_schema(),
delete_database(),
delete_schema(),
delete_table(),
describe_share(),
list_owned_shares(),
list_shared_with_me_shares(),
upload_database_to_md()