Removes the specified Cortex Search service from the current schema.
Syntax¶DROP CORTEX SEARCH SERVICE <name>;
Copy
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.
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;
Copy
+------------------------------+ | status | |------------------------------| | mysvc successfully dropped. | +------------------------------+
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4