Follow the below steps to create Stored Procedure in Azure Cosmos DB Container:
Step 1:
After creating a Azure Cosmos DB account, create a database and a container. Below is my database db1
and a container cont1
.
Step 2:
You can create Stored Procedure
manually, under database db1
you can find a container cont1
, under container you can find items
, click on ...
and select New Stored Procedure or you can find a direct option New Stored Procedure
to create it as shown in the below image.
Database ---> Container ---> Items ---> New Stored Procedure
New Stored Procedure created successfully, as shown in the below image.