Before you begin
Make sure you have already:- Set up a local cluster.
- Installed a PostgreSQL client.
- Connected to the database.
- Inserted data that you now want to run queries against.
Your application should use a retry loop to handle transaction errors that can occur under contention.
Run a transaction
- SQL
- Go
- Java
- Python
cockroach sql reference docs.
