# Procedures

## What is a Stored Procedure?

A stored procedure is SQL code that can be accessed using the SQL `CALL` syntax. Much like a\
function in other programming languages, you can pass values into a stored procedures. Stored\
procedures cannot return results, unlike functions.

Database users create procedures. Procedures are schema and are stored along with other schema\
elements in the database.

## Doltgres support for Stored Procedures

Doltgres comes with [many built-in stored procedures for version control\
features](/reference/version-control/dolt-sql-functions.md).

User created stored procedures are not yet supported but will be added in a future release.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.doltgres.com/concepts/sql/procedures.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
