/
drop_namespace

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 /wiki/spaces/SD/pages/242909404 section of the /wiki/spaces/SD/pages/241041535.

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 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% 



Related content

drop_namespace
drop_namespace
More like this
set_namespace
set_namespace
More like this
create_namespace
create_namespace
More like this