DROP CORTEX SEARCH SERVICE
statementsupportedAI & MLRemoves the specified Cortex Search service from the current schema.
Syntax
DROP CORTEX SEARCH SERVICE <name>;
Parameters
| Name | Required | Description |
|---|---|---|
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. Operating on an object in a schema requires at least one privilege on the parent database and at least one privilege on the parent 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.