DROP CORTEX SEARCH SERVICE¶
Removes the specified Cortex Search service from the current schema.
Syntax¶
DROP CORTEX SEARCH SERVICE <name>;
Parameters¶
name
Specifies the identifier for the Cortex Search service to drop.
If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
For more information, see Identifier requirements.
Access Control Requirements¶
Privilege |
Object |
---|---|
OWNERSHIP |
Cortex Search service you want to remove. |
The USAGE privilege on the parent database and schema are required to perform operations on any object in a schema.
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
Usage Notes¶
Examples¶
The following example drops the Cortex Search service named mysvc
:
DROP CORTEX SEARCH SERVICE mysvc;
+------------------------------+
| status |
|------------------------------|
| mysvc successfully dropped. |
+------------------------------+