title: What is the difference between sql batch and transaction in orientdb?
body: <p>I have read through the documentation, and it seems that a SQL BATCH command and a transaction accomplish the same purpose, that is committing all statements as an all-or-nothing transaction.</p>
  
  <p>Is this correct, or am I missing something?</p>
  
  <p>I am using Orient through the PhpOrient language binding, and see that it supports both transactions and batches, but I am using SQL exclusively and would like to perform transactions using SQL only. It seems the same from my testing, but I wanted to confirm.</p>