delete_schema()#
relationalai.api
#delete_schema(<schema_name>)
Deletes a specified RelationalAI (RAI) schema within the RAI Native App for Snowflake.
Ensure the schema is no longer needed before deletion, as this action cannot be undone.
Requires the schema_admin
application role.
Parameters#
Name | Type | Description |
---|---|---|
<schema_name> | STRING | The name of the schema to delete (case-sensitive). |
Example#
Use delete_schema()
to delete an existing RAI schema.
Ensure that the schema is not actively in use and that any necessary data has been backed up.
For example, to delete a schema named my_rai_schema
:
#CALL relationalai.api.delete_schema('my_rai_schema');