drop_namespace

The drop_namespace  operator removes a namespace. Available only in the Enterprise Edition.

SciDB security mode must be correctly configured before this or any security operator can be used.  See the Security section of the SciDB Administration Guide.

For backward compatibility, namespace names may appear inside single quotes.  The quotes are no longer needed, and quoted namespace names may not be supported in future releases.

Synopsis

drop_namespace( name );

Summary

  • Only the scidbadmin user or a user belonging to the admin or operator role can invoke the drop_namespace operator to delete a namespace.
  • A namespace cannot be deleted unless it contains no arrays.

Example

Here the scidbadmin user is running iquery in AFL mode, and removes a namespace called testNS01.

AFL% show_user();
{i} name
{0} 'scidbadmin'
AFL% drop_namespace(testNS01);
Query was executed successfully
AFL%