DROP EXTERNAL MODEL
removes an external model used by AI_GENERATE_EMBEDDINGS
What changes
- Input
- catalog
- Output or change
- external AI model definition (endpoint location, API format, credential)
Syntax at a glance
DROP EXTERNAL MODEL external_model_object_name [ ; ]
Work example
An external model endpoint has been retired and its callers have moved.
Search model references, jobs, credentials, and application configuration before removing the database definition.
Check your work No active call targets the model and its credential is retired through the secret owner.
Open Microsoft Learn for full syntax, permissions, and details for your version.